#1126. 第2题 数字之和

第2题 数字之和

Description

输入任意一个正整数,求其各数位数字之和。

Input Format

输入一个正整数,范围在[0..1000000]。

Output Format

输出它的各个位置上的数字之和。

5237
17