T = int(input()) for _ in range(T): N = int(input()) A = list(map(int, input().split())) cnt = sum(A) if cnt % 2 == 1 or (cnt == N and N % 2 == 1): print("No") else: print("Yes")