N = range(int(input())) [print( sum( map( int,input().split() ) ) ) for i in N ]