cont = 0
for c in range(0, 5):
    num = int(input())
    if num % 2 == 0:
        cont += 1                      #Comando para contar a quantidade de itens.
print(f'{cont} valores pares')











'''n1 = int(input())
n2 = int(input())
n3 = int(input())
n4 = int(input())
n5 = int(input())
if n1 % 2 == 0 or n2 % 2 == 0 or n3 % 2 == 0 or n4 % 2 == 0 or n5 % 2 == 0:
    print(n1, n2, n3, n4, n5)
else:
    print('')'''

