# Arup Guha
# 8/8/2025
# Solution to 2025 UCF Locals Final Round Problem: Intentional Blank Page

# Get number of problems.
n = int(input())
res = 0

# Add 1 if pages for a problem is odd.
for i in range(n):
    res += int(input())%2

# Ta da!
print(res)
