https://www.acmicpc.net/problem/9085
t=int(input()) for i in range(t): sum=0 n=int(input()) a=list(map(int,input().split())) for j in range(n): sum+=a[j] print(sum)