while True:
    try:
        a, b = input(), input()
        c, d = int(a), int(b)
        s = c+d
        print(s)
    except:
        break