a, b = map(int, input().split()) while a != 0 or b != 0: print(a + b) a, b = map(int, input().split())