This website works better with JavaScript
홈
탐색
도움말
가입하기
로그인
AOJTeam
/
Contest1413
Watch
5
Star
0
포크
0
파일
이슈
0
풀 리퀘스트
0
위키
트리:
9a7d945334
브랜치
태그
master
Contest1413
/
D.py
D.py
119 B
히스토리
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:]))