#include using namespace std; typedef long long ll; typedef pair P; typedef pair Q; #define REP(i,n) for(int i=0;i> T; while(T--){ int N; cin >> N; int ans=0; REP(i,N){ int f; cin >> f; ans+=f; } cout << ans << endl; } cout << endl; return 0; }