#include <bits/stdc++.h>
using namespace std;
int n, t, l, r;
set<int> d;
map<int, int> mp;
int a[300005];
int main() {
  cin >> t;
  while (t--) {
    memset(a, 0, sizeof(a));
    int pr = 0;
    int pr2 = 0;
    int s = 0;
    cin >> n;
    for (int i = 0; i < n; i++) {
      cin >> a[i];
      s += a[i];
      if (a[i] % 2 == 0) pr = 1;
      if (a[i] % 2 == 1) pr2 = 1;
    }
    if (s % 2 == 1)
      cout << "Yes" << endl;
    else if (s % 2 == 0 && pr == 1 && pr2 == 1)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
