import sys for line in sys.stdin: a = line.split() if a[0] != '0' and a[1] != '0': print(int(a[0]) + int(a[1]))