import sys for reanr in range(int(input())): print(sum([int(s) for s in sys.stdin.readline().split()]))