1040: The sum of digits
[Creator : ]
Description
Given an integer with 4 digits, please output the sum of the digits.
Input
One integer with 4 digits
Output
One integer which is the sum of the 4 digits
Sample Input Copy
2341
Sample Output Copy
10