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