s = 0
while True:
    a = input()
    if a == "стоп":
        break
    else:
        s = s + int(a)
print (s)
print("type 'end' to exit ")
e=str(input())   

7e355a985f5e74875d2877734186f40d16968612
<mask token>

<mask token>
while True:
    a = input()
    if a == 'стоп':
        break
    else:
        s = s + int(a)
print(s)
print("type 'end' to exit ")
<mask token>

s = 0
while True:
    a = input()
    if a == 'стоп':
        break
    else:
        s = s + int(a)
print(s)
print("type 'end' to exit ")
e = str(input())

s = 0
while True:
    a = input()
    if a == "стоп":
        break
    else:
        s = s + int(a)
print (s)
print("type 'end' to exit ")
e=str(input())   
