#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    long long n, i;
    cin >> n;
    long long arr[n];
    for (int i = 0; i < n; i++) cin >> arr[i];
    long long cnt = 0;
    for (int i = 0; i < n; i++) {
      if (arr[i] % 2 != 0) cnt++;
    }
    if (cnt % 2 != 0 and cnt > 0)
      cout << "Yes" << endl;
    else {
      if (n - cnt > 0 and cnt > 0)
        cout << "Yes" << endl;
      else
        cout << "No" << endl;
    }
  }
  return 0;
}
