Number of digits#145

Number of digits

1 second
128 megabytes
Very easy (≈850)

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

Example 1

Loading
Loading