T = int(input())
n = 1
while n <= T:
    a, b = map(int, input().split())
    print(a + b)
    n = n + 1

2e530811bd0539af4edb23217fe33ade07f50785
<mask token>

<mask token>
while n <= T:
    a, b = map(int, input().split())
    print(a + b)
    n = n + 1

T = int(input())
n = 1
while n <= T:
    a, b = map(int, input().split())
    print(a + b)
    n = n + 1
