Mixed sequence
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
A sequence of characters separated by spaces is given. Each character of the sequence is a capital or small letter of the Latin alphabet, or a digit from 0 to 9.
Find the sum of the numbers in this sequence. The number of characters included in the sequence is no more than 10000.
Input
Sequence of characters separated by spaces.
Output
Print the sum of the digits in the sequence, or 0 if there are no digits in the sequence.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 1K
Acceptance rate 49%