while True:
    try:
        n1 = input()
        n2 = input()
        print(int(n1)+int(n2))
    except:
        break