Number of digits
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Given a string that contains an expression of numbers, signs of arithmetic operations and brackets. Find the number of digits used in the expression.
Input data
Arithmetic expression containing numbers, brackets, and arithmetic characters.
Output
Print the number of digits in the expression.
Examples
Input #1
Answer #1
Submissions 6K
Acceptance rate 66%