Gift

Bored? I know you are. But don’t worry. Tuktuki has an interesting task for you. Tuktuki bought $N $…

Click here to read the complete problem statement.


If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.

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