Feedback | | If you notice incorrect translations in Contester, please let author know.
|
|
Time limit 100/100/100/100 ms. Memory limit 65000/65000/65000/65000 Kb.
Write a program to calculate sum of digits of given number N (100 ≤ N ≤ 999).
Input
An integer number with exactly 3 digits
Output
Sum of digits
Examples
| standart input | standart output |
| 185 | 14 |
| 256 | 13 |
Для отправки решений необходимо выполнить вход.
|