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, has 2 digits; the negative sign is not a digit.
Input Specification
The first line of input contains an integer : the number of cases to follow. Each of the following lines contains an integer , with no leading zeroes.
Output Specification
The number of digits in the integer given. Answers to the test cases should be printed in order.
Sample Input
4
123
1
-12
0
Sample Output
3
1
2
1
Comments