import sys

for line in sys.stdin:
    a = line.split()
    print(int(a[0]) + int(a[1]))

这直接就用python把数据读了加起来