Find the total count of numbers up to N digits in a given base B
Given two integers N and B, the task is to find the count of natural numbers of Base B up to N digits. Examples: Input: N = 2, B = 10 Output: 99 Explanation: 1, 2, 3, 4, 5, 6, 7, 8, 9 are 1 digit Natural numbers of Base 10. 10, 11, 12.........99 are 2 digit Natural numbers of Base 10 So, total = 9 +