#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false), cin.tie(0);
  long long t, n, a, odds = 0, evens = 0;
  cin >> t;
  while (t--) {
    evens = 0;
    odds = 0;
    cin >> n;
    for (long long i = 0; i < n; i++) {
      cin >> a;
      if (a % 2 == 0)
        evens++;
      else
        odds++;
    }
    if (odds % 2 != 0)
      cout << "Yes"
           << "\n";
    else if (evens > 0 && odds > 0)
      cout << "Yes"
           << "\n";
    else
      cout << "No"
           << "\n";
  }
  return 0;
}
