Life is short, you need Python

import sys

for a in sys.stdin:
    a = int(a)
    b = int(input())
    print(a+b)