Gift


This is a companion discussion topic for the original entry at https://toph.co/p/gift
Summary
T = int(input())
A = input().split()
num = 0
for i in range(0,T):
	if int(A[i]) % 2 == 0:
		continue
	num += 1
if num == 0:
	print("-1")
else:
	print(num)

why the code is not working on case #3