Sum of digits#17

Sum of digits

1 second
64 megabytes
Very easy (≈850)

Calculate the sum of the digits of a given three-digit number.

Input

A natural number consisting of three digits.

Output

The sum of the digits of the number.

Examples

Example 1

Loading
Loading