a = input()
x = 0
for y in a:
    x += int(y)
print(x)

4a1e8a8e7b29f7e83b7f99bf9b7a56f3125c937c
<mask token>

<mask token>
for y in a:
    x += int(y)
print(x)

a = input()
x = 0
for y in a:
    x += int(y)
print(x)
