1099: 各位数求和

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:24 Solved:14

Description

输入一个三位数整数,输出其各位数之和。

Input

123

Output

6

Sample Input Copy

111

Sample Output Copy

3

Source/Category