#include <bits/stdc++.h>
using namespace std;
long long int a[1000005];
bool isOdd(long long int arr[], long long int n) {
  long long int l, r, flag = 0, flag1 = 0, sum = 0;
  for (int i = 0; i < n; i++) {
    sum += arr[i];
    if (arr[i] % 2 == 0 && flag == 0) {
      flag = 1;
      l = arr[i];
    }
    if (arr[i] % 2 != 0 && flag1 == 0) {
      r = arr[i];
      flag1 = 1;
    }
  }
  if (sum % 2 != 0) {
    return true;
  } else {
    if (flag1 == 1 && flag == 1)
      return true;
    else
      return false;
  }
}
int main() {
  long long int n;
  int t;
  cin >> t;
  while (t--) {
    cin >> n;
    for (int i = 0; i < n; i++) {
      cin >> a[i];
    }
    bool res = isOdd(a, n);
    if (res)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
}
