while True: try: s=list(map(int,input().split())) if s==[0,0]: break else: print(int(s[0])+int(s[1])) except: break