#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    long long s;
    cin >> s;
    long long co = 0, ce = 0, count = 0, arr[s], sum = 0;
    for (int i = 0; i < s; i++) {
      cin >> arr[i];
      sum += arr[i];
      if (arr[i] % 2 == 0)
        ce++;
      else
        co++;
      if (i == 0)
        continue;
      else {
        if (arr[i] == arr[i - 1]) {
          count++;
        }
      }
    }
    if (sum % 2 != 0)
      cout << "YES" << endl;
    else if (sum % 2 == 0 && count == s - 1)
      cout << "NO" << endl;
    else if (sum % 2 == 0 && ce == s)
      cout << "NO" << endl;
    else if (sum % 2 == 0 && co % 2 == 0 && ce == 0)
      cout << "NO" << endl;
    else
      cout << "YES" << endl;
  }
}
