for _ in range(int(input())):
n = int(input())
arr = map(int, input().split())
one = 0
two = 0
for i in arr:
if i == 1:
one += 1
else:
two += 1
if one % 2 == 0:
if two % 2 == 0:
print('YES')
else:
if one >= 2:
print('YES')
else:
print('NO')
else:
print('NO')