Тавсифи масъала
Given a number, find the sum of its digits.
| Подзадача | Tests | Points | Additional Constraints |
|---|---|---|---|
| 1 | 1–5 | 20 | |
| 2 | 6–15 | 30 |
Given a number, find the sum of its digits.
| Подзадача | Tests | Points | Additional Constraints |
|---|---|---|---|
| 1 | 1–5 | 20 | |
| 2 | 6–15 | 30 |
| 3 | 16–25 | 50 | no additional restrictions |
The input is a single integer .
The sum of the digits of the number must be output.