Count Digits
Submit solution
Points:
100
Time limit:
1.0s
Memory limit:
256M
Author:
Problem types
Allowed languages
Python
Given a non-negative integer \(n\), count the digits in its decimal representation. The number \(0\) has one digit.
Input
One line containing \(n\).
The input satisfies:
- \(0 \le n \le 10^18\)
Output
Print the number of digits in \(n\). The number 0 has one digit.
Example
Input
12030
Output
5
Comments