This website works better with JavaScript
Etusivu
Tutki
Apua
Rekisteröidy
Kirjaudu sisään
AOJTeam
/
Contest1458
Tarkkaile
5
Äänestä
0
Fork
0
Tiedostot
Ongelmat
0
Pull-pyynnöt
0
Wiki
Puu:
3bcfdbae7a
Branchit
Tagit
master
Contest1458
/
Python
/
C.py
C.py
113 B
Historia
Raaka
1
2
3
4
5
while True:
s = list(map(int, input().strip().split()))
if s[0] == 0:
break
print(sum(s[1:]))