#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long int t;
  cin >> t;
  for (long long int j = 0; j < t; j++) {
    long long int n, c = 0;
    cin >> n;
    for (long long int i = 0; i < n; i++) {
      long long int a;
      cin >> a;
      if (a % 2 != 0) c++;
    }
    if ((c > 0 && c < n) || (n % 2 != 0 && c == n))
      cout << "YES\n";
    else
      cout << "NO\n";
  }
  return 0;
}
