#include <bits/stdc++.h>
using namespace std;
int main() {
  int t, n, sum = 0, sum2 = 0, oddCnt = 0, evenCnt = 0, arr[100001];
  cin >> t;
  while (t--) {
    cin >> n;
    sum = 0;
    oddCnt = 0;
    evenCnt = 0;
    for (int i = 0; i < n; i++) {
      cin >> arr[i];
      sum += arr[i];
    }
    if (sum % 2 != 0) {
      cout << "YES"
           << "\n";
      continue;
    } else {
      for (int i = 0; i < n; i++) {
        if (arr[i] % 2 == 0) {
          evenCnt++;
        } else {
          oddCnt++;
        }
      }
      if (oddCnt > 0 && evenCnt > 0)
        cout << "YES"
             << "\n";
      else
        cout << "NO"
             << "\n";
    }
  }
  return 0;
}
