import sys
for line in sys.stdin: # 逐行读取输入,直到EOF
    if line.strip(): # 忽略空行
        a, b = map(int, line.split()) 
        print(a + b)