#include <bits/stdc++.h>
using namespace std;
int a[2005];
int main() {
  int T;
  scanf("%d", &T);
  int n;
  while (T--) {
    int tag1 = 0, tag2 = 0;
    scanf("%d", &n);
    int sum = 0, cnt = 0;
    for (int i = 1; i <= n; i++) {
      scanf("%d", &a[i]);
      sum += a[i];
      if (a[i] % 2 == 1) cnt++;
    }
    if (sum % 2 == 1 || cnt % 2 == 1) {
      printf("YES\n");
      continue;
    }
    for (int i = 1; i <= n; i++) {
      if (a[i] % 2 == 0) {
        if (tag2 == 1) {
          printf("YES\n");
          tag1 = 1;
          break;
        }
        tag1 = 1;
      }
      if (a[i] % 2 == 1) {
        if (tag1 == 1) {
          printf("YES\n");
          tag2 = 1;
          break;
        }
        tag2 = 1;
      }
    }
    if (tag1 != 1 || tag2 != 1) {
      printf("NO\n");
    }
  }
  return 0;
}
