while True: A = list(map(int, input().strip().split())) print(sum(A[1:]))