#include int main() { int t,n,a[1000],i,j,sum; scanf("%d\n",&t); while(t--) {sum=0; scanf("%d\n",&n); for(i=0;i