Sum of digits
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
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
Input #1
Answer #1
Submissions 14K
Acceptance rate 65%