BlueBook
Determine the number of digits in a given number. A negative number has
the same number of digits as its absolute value: for example,
Input Specification
The first line of input contains an integer
Output Specification
The number of digits in the integer given. Answers to the test cases should be printed in order.
Sample Input
Copy
4
123
1
-12
0
Sample Output
Copy
3
1
2
1
Comments