Problem AP: 四位数的和

Problem AP: 四位数的和

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

SubmitProblemList

Description

请从键盘读入一个四位整数,求这个四位整数各个位的和是多少?

Input

一个四位整数n

Output

这个四位数各个位的和

Sample Input Copy

1234

Sample Output Copy

10