14685 - Sum of four-digit integer   

Description

Write a program that reads a four-digit positive integer and computes the sum of its digits.

For example, if the input is 1234, then the output should be 10.

Input

Four integer

Output

The sum of the four integers

Sample Input  Download

Sample Output  Download




Discuss