#
# This program computes the sum of the digits of an integer
#
# 1. Input
#
A = raw_input("Enter an integer value -> ")
#
# 2. Processing
#
B = list(A)
#
Digits = map(int,B)
#
Sum = 0
for N in Digits:
    Sum = Sum + N
#
# 3. Output
#
print "The sum of the digits is : ",Sum
