The program should read a natural number N from the console. If the number N is equal to 10^M, meaning it is a power of 10, then output the value of M. Otherwise, output No.
A natural number N.
The solution to the problem.
Example 1
Example 2