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