N = int(eval(input()))

src = list(map(int,input().split()))

odd = 0

for a in src:

    if a%2: odd += 1

print(('YES' if odd%2 == 0 else 'NO'))
N = int(eval(input()))

src = list(map(int,input().split()))



odd = len([a for a in src if a%2])

even = N - odd

if odd%2:

    print('NO')

else:

    even += odd//2

    print(('NO' if even < 1 else 'YES'))
N = int(eval(input()))
src = list(map(int, input().split()))
odd = 0
for a in src:
    if a % 2:
        odd += 1
print(("YES" if odd % 2 == 0 else "NO"))

N = int(eval(input()))
src = list(map(int, input().split()))
odd = len([a for a in src if a % 2])
even = N - odd
if odd % 2:
    print("NO")
else:
    even += odd // 2
    print(("NO" if even < 1 else "YES"))

-odd = 0 -for a in src: -    if a % 2: -        odd += 1 -print(("YES" if odd % 2 == 0 else "NO")) +odd = len([a for a in src if a % 2]) +even = N - odd +if odd % 2: +    print("NO") +else: +    even += odd // 2 +    print(("NO" if even < 1 else "YES"))