1188: 三位数求和

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:21 Solved:19

Description

三位数之和,输入一个三位数,求各个位数上整数的和,例如:235,个位数是5、十位数是3、百位数是2,各个位数上的和为2+3+5=10

Input

一个三位数整数

Output

输出一个整数

Sample Input Copy

235

Sample Output Copy

10