n = int(eval(input()))

A = [*list(map(int, input().split()))]

c = 0

for i in range(1, n+1):

    if i%2 and A[i-1]%2: c += 1

print(c)



n = int(eval(input()))

c = i = 0

for a in map(int, input().split()):

    i += 1

    if i%2 and a%2: c += 1

print(c)



n = int(eval(input()))
A = [*list(map(int, input().split()))]
c = 0
for i in range(1, n + 1):
    if i % 2 and A[i - 1] % 2:
        c += 1
print(c)

n = int(eval(input()))
c = i = 0
for a in map(int, input().split()):
    i += 1
    if i % 2 and a % 2:
        c += 1
print(c)

-A = [*list(map(int, input().split()))] -c = 0 -for i in range(1, n + 1): -    if i % 2 and A[i - 1] % 2: +c = i = 0 +for a in map(int, input().split()): +    i += 1 +    if i % 2 and a % 2: