# Sum of the Digits in an Integer

four_digit = int(input('enter a four digit integer number: '))

d = str(four_digit)
somma = int(d[0])+int(d[1])+int(d[2])+int(d[3])

print('the sum of the four digit is', somma)
