
# name = "Harshit"
# for i in range(len(name)):
#     print(name[i])

# name = "Rahul Gautam"
# for i in name:
#     print(i)

number=input("Please enter your number : ")
total=0
for i in number:
    total +=int(i)
    print(total)