#include <bits/stdc++.h> using namespace std; int t, n, a; int main() { cin >> t; while(t--) { bool ok = false; cin >> n; while(n--) { cin >> a; if(!a) { ok = true; break; } } cout << (ok ? "yes\n" : "no\n"); } return 0; }