Sum of digits in the text
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
The text is given. Find the sum of all digits in it.
Input
Contains sequence of characters — a text.
Output
Print the sum of all digits in the text.
Examples
Text contains digits . Their sum is .
Input #1
Answer #1
Submissions 982
Acceptance rate 39%