#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t-- > 0) {
    int n;
    cin >> n;
    int arr[n];
    int odd = 0;
    int even = 0;
    for (int i = 0; i < n; i++) {
      cin >> arr[i];
      if (arr[i] % 2 == 0) {
        even++;
      } else {
        odd++;
      }
    }
    if (odd % 2 == 0 && even == 0) {
      cout << "NO" << endl;
    } else if (odd % 2 == 0 && even != 0 && odd != 0) {
      cout << "YES" << endl;
    } else if (odd == 0) {
      cout << "NO" << endl;
    } else if (odd % 2 != 0) {
      cout << "YES" << endl;
    }
  }
}
