import sys
for  i ,line in enumerate(sys.stdin) :
    if i == 0:
        continue
    print(sum(list(map(int,line.split()))))