Problem I: 拆位运算-求任意三位数各个数位上数字的和

Problem I: 拆位运算-求任意三位数各个数位上数字的和

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

输入一个三位整数,将其个位,十位,百位相加的和输出。

Input

输入一个三位数

Output

输出整数

Sample Input Copy

123

Sample Output Copy

6