while True: # 读取一行输入 a, b = map(int, input().split()) # 如果遇到 0 0 则终止循环,但不输出 if a == 0 and b == 0: break # 输出 a + b 的结果 print(a + b)