1120: 【递归】【入门】整数n的各位数字之和

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

Description

返回整数n的各位数字之和

Input

一个整数n

Output

整数n的各位数字之和

Sample Input Copy

234

Sample Output Copy

9