#include <bits/stdc++.h>
int Case, n, a[2001];
int main(void) {
  register int i, sum = 0;
  scanf("%d", &Case);
  while (Case--) {
    scanf("%d", &n);
    sum = 0;
    for (i = 1; i <= n; ++i) scanf("%d", a + i), sum += a[i] & 1;
    if (sum & 1 || (sum && sum ^ n))
      puts("YES");
    else
      puts("NO");
  }
  return 0;
}
