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