#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  int t;
  cin >> t;
  bool even;
  bool odd;
  for (int i = 1; i <= t; i++) {
    int size;
    even = false;
    odd = false;
    cin >> size;
    int arr[size];
    for (int j = 0; j < size; j++) cin >> arr[j];
    for (int j = 0; j < size; j++)
      if (arr[j] % 2 == 0)
        even = true;
      else
        odd = true;
    if (even == true && odd == true)
      cout << "YES" << endl;
    else if (even == false && size % 2 != 0)
      cout << "YES" << endl;
    else
      cout << "NO" << endl;
  }
  return 0;
}
