while True: a, b = map(int, input().split()) if a == 0 and b == 0: break # 如果 a 和 b 都为 0,结束循环 print(a + b) # 输出 a 和 b 的和