#000160

Number of digits

For given integers N and K (1 <= N, K <= 2000000000) you have to find the number of digits of N^K.



InputStandard input will contain two integers N and K.


OutputTo the standard output print the number of digits of N^K.


Example:

Input:
2 10

Output:
4


Explanation: 2^10 = 1024 so the answer is 4

Submit solution

Coming later

The grading service will be connected in a later migration step. You can inspect the task and your previous results now.