Олимпиадный тренинг

Задача 18685. The sum of the digits of a number


Задача

Темы:
Write a program that calculates the sum of the digits of a number.

Input
The input is one natural number.

Imprint
Display the sum of its digits.
 
 
Examples
# Input Output
1 157 13