public static void main(String args[]) throws Throwable {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		mem=new int[5][1<<20];
		for (int t=0,T=parseInt(in.readLine().trim());t++<T;) {
			StringTokenizer st=new StringTokenizer(in.readLine());
			N=parseInt(st.nextToken());
			int[] arr=new int[N];
			W=new ArrayList<Integer>();
			int L=0;
			for(int i=0;i<N;i++)L+=(arr[i]=parseInt(st.nextToken()));
			if(L%4==0) {
				L/=4;
				for(int i=0;i<(1<<N);i++) {
					int sum=0;
					for(int j=0;j<N;j++) 
						if((i&(1<<j))!=0)
							sum+=arr[j];
					if(sum==L)
						W.add(i);
					for(int j=0;j<5;j++)mem[j][i]=0;
				}
				sb.append(f(0,4)?"yes\n":"no\n");
			}else sb.append("no\n");
		}
		System.out.print(new String(sb));
	}