#include<bits/stdc++.h> using namespace std; int t,k,n,p; int main(){ cin>>t; for(int i=1;i<=t;i++){ p=0; cin>>n; for(int j=1;j<=n;j++){ cin>>k; if(k==0){ cout<<"yes"<<endl; p=1; break; } } if(p==0){ cout<<"no"<<endl; } } }