This website works better with JavaScript
Home
Explore
Help
Register
Sign In
AOJTeam
/
Contest1458
Watch
5
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Tree:
3bcfdbae7a
Branches
Tags
master
Contest1458
/
Python
/
C.py
C.py
113 B
History
Raw
1
2
3
4
5
while True:
s = list(map(int, input().strip().split()))
if s[0] == 0:
break
print(sum(s[1:]))