Finding number of digits in an integer Given an integer n as input write a program to output the numbers of digit in it. 

Input

12346

456


Output

5

3


Constraint

n&lt;=10^9
GolfScript, 1 character

,


, means length...

Edit: You seem to have changed your question... please don't do that, but I still have a solution:

GolfScript, 12 7 characters (for multiline)

n%{,n}/


Thanks @Howard for reminding me about n to push newline and using separate strings instead of one, to save 5 chars ;)

Solutions that work with negative numbers:

GolfScript, 5 (for negative)

'-'-,


GolfScript, 11 (for multiline and negative)

n%{'-'-,n}/