#include <bits/stdc++.h>
using namespace std;
const int MAXN = 2e6 + 1;
const int INF = 2e9 + 1;
const int MOD = (1e9 + 7);
void bye(string s = "") {
  cout << s << '\n';
  exit(0);
}
signed main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int t = 1;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    vector<int> arr(2);
    for (int i = 0; i < n; i++) {
      int a;
      cin >> a;
      arr[a % 2]++;
    }
    if (arr[1] % 2 || (arr[1] && arr[0])) {
      cout << "YES\n";
    } else {
      cout << "NO\n";
    }
  }
  bye();
}
