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