This website works better with JavaScript
Página inicial
Explorar
Ajuda
Registrar
Entrar
AOJTeam
/
Contest1458
Observar
5
Favorito
0
Fork
0
Arquivos
Issues
0
Pull Requests
0
Wiki
Tree:
3bcfdbae7a
Branches
Tags
master
Contest1458
/
Python
/
C.py
C.py
113 B
Histórico
Raw
1
2
3
4
5
while True:
s = list(map(int, input().strip().split()))
if s[0] == 0:
break
print(sum(s[1:]))