LearnPy Hub
← Arena
EasyRating 800

Digit Sum

Print the sum of the digits of a very large number (up to 1000 digits).

Input

One non-negative integer.

Output

The digit sum.

Sample 1

Input
12345
Output
15

Sample 2

Input
0
Output
0
solution.py
Output appears here
Digit Sum · Python Arena problem · LearnPy Hub