eval(input());print(('YNEOS'[sum(int(i)%2for i in input().split())%2::2]))
eval(input());print(('YNEOS'[sum(map(int,input().split()))%2::2]))
eval(input())
print(("YNEOS"[sum(int(i) % 2 for i in input().split()) % 2 :: 2]))

eval(input())
print(("YNEOS"[sum(map(int, input().split())) % 2 :: 2]))

-print(("YNEOS"[sum(int(i) % 2 for i in input().split()) % 2 :: 2])) +print(("YNEOS"[sum(map(int, input().split())) % 2 :: 2]))