eolymp
Competitions

PP2. Week 8: April 26 - May 2

Sum of digits in the text

Time limit 1 second
Memory limit 128 MiB

The text is given. Find the sum of all digits in it.

Input data

Contains sequence of characters - a text.

Output data

Print the sum of all digits in the text.

Example

Text contains digits 4, 1, 2, 4. Their sum is 4 + 1 + 2 + 4 = 11.

Examples

Input example #1
Cats =="+41"
  Dogs 2 and 4pigs
Output example #1
11
Author Michael Medvediev