Sum of digits in the text#10507

Sum of digits in the text

1 секунда
128 мегабајти
Многу лесно

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

Влез

Contains sequence of characters — a text.

Излез

Print the sum of all digits in the text.

Примери

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

Пример 1

Loading
Loading