#include <bits/stdc++.h>
using namespace std;
int main() {
  int t, n, num;
  scanf("%d", &t);
  for (int i = 1; i <= t; i++) {
    scanf("%d", &n);
    int E = 0, O = 0;
    for (int j = 1; j <= n; j++) {
      scanf("%d", &num);
      if (num % 2 == 0)
        E = 1;
      else
        O = 1;
    }
    if ((E && O) || (E == 0 && O && n % 2 != 0))
      printf("YES\n");
    else
      printf("NO\n");
  }
  return 0;
}
