1932: 三位数数字和

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:365 Solved:3

Description

 

输入一个三位数,将它的各个数位上的数字之和。

Input

 

一个三位数整数。

Output

 

一个整数,表示输入三位数的每位数字的和。

Sample Input Copy

120

Sample Output Copy

3

Source/Category