Problem1291--求一个正整数各位数字之和

1291: 求一个正整数各位数字之和

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

Description

  输入一个正整n (1<=n<=101000),求其各位数字之和。

Input

  一行:一个整数n

Output

  一行:一个整数。

Sample Input Copy

12306

Sample Output Copy

12

HINT

参考程序:

Source/Category