#include <bits/stdc++.h>
using namespace std;
int main() {
  int tc;
  cin >> tc;
  while (tc--) {
    int n;
    cin >> n;
    int arr[n];
    int odd = 0;
    int even = 0;
    int total = 0;
    bool fl = false;
    for (int i = 0; i < n; i++) {
      cin >> arr[i];
      if (arr[i] & 1) {
        odd += 1;
      }
      total += arr[i];
    }
    if (total & 1)
      cout << "YES\n";
    else if (odd == 0)
      cout << "NO\n";
    else {
      if (odd < n)
        cout << "YES\n";
      else {
        if (odd % 2 == 0)
          cout << "NO\n";
        else
          cout << "YES\n";
      }
    }
  }
  return 0;
}
