#include <bits/stdc++.h>
using namespace std;
void solve() {
  int num;
  cin >> num;
  int arr[num + 1];
  int count = 0;
  int odd = 0;
  for (int i = 0; i < num; i++) {
    cin >> arr[i];
    count += arr[i];
    if (arr[i] % 2 != 0) odd++;
  }
  if (count % 2 != 0)
    cout << "Yes" << endl;
  else if (odd == num && num % 2 == 0)
    cout << "NO" << endl;
  else if (count % 2 == 0 && odd >= 2)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
int main() {
  int tt;
  cin >> tt;
  while (tt--) {
    solve();
  }
  return 0;
}
