1789: 数位和

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:46 Solved:32

Description

输入一个三位正整数n,求n的各个数位之和。

Input

如题

Output

如题

Sample Input Copy

123

Sample Output Copy

6