Problem:


Score : 200 points

Problem Statement

We have N squares assigned the numbers 1,2,3,\ldots,N. Each square has an integer written on it, and the integer written on Square i is a_i.

How many squares i satisfy both of the following conditions?

The assigned number, i, is odd.

The written integer is odd.

Constraints

All values in input are integers.

1 \leq N, a_i \leq 100

Input

Input is given from Standard Input in the following format:

N
a_1 a_2 \cdots a_N

Output

Print the number of squares that satisfy both of the conditions.

Sample Input 1

5
1 3 4 5 7

Sample Output 1

2

Two squares, Square 1 and 5, satisfy both of the conditions.

For Square 2 and 4, the assigned numbers are not odd.

For Square 3, the written integer is not odd.

Sample Input 2

15
13 76 46 15 50 98 93 77 31 43 84 90 6 24 14

Sample Output 2

3



Sample input:
5
1 3 4 5 7


Sample output:
2

Submission status: Wrong Answer

Solution code:
i = int(input())
count = 0
num = tuple(map(int, input().split()))

for i in range (0, len(num)):
    if num[i] % 2 != 0 and i % 2 != 0:
        count +=1

print(count)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int, input().split()))

ans = 0
for i in range(n):
    if i % 2 == 1 and a[i] % 2 == 1:
        ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
N = int(input())
A = list(map(int, input().split()))
ans = 0

for i, a in enumerate(A):
    if (i + a) % 2 == 1:
        ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
N = int(input())
A = list(map(int, input().split()))

ans = 0
for i in range(N):
    if i % 2 == 1 and A[i] % 2 == 1:
        ans += 1

print(ans)

Submission status: Wrong Answer

Solution code:
n=int(input())
l=list(map(int,input().split()))
count=0
for i in range(n):
    if i%2==1 and l[i]%2==1:
        count += 1
print(count)

Submission status: Wrong Answer

Solution code:
n=int(input())
array=list(map(int,input().split()))
ans=0
for m in range(n):
  if m%2==1 and array[m]%2==1:
    ans=ans+1
print(ans)

Submission status: Wrong Answer

Solution code:
N=int(input())
a=list(map(int,input().split()))
count=0
for i in range(len(a)):
    if (i%2==1)&(a[i]%2==1):
        count+=1
print(count)

Submission status: Wrong Answer

Solution code:
v = int(input())
n = list(map(int, input().split(' ')))
c = 0
for i in range(0, v):
    if n[i] %2 == 1 and i%2 == 1:
        #print(n[i])
        c += 1
print(c)

Submission status: Wrong Answer

Solution code:
X = int(input())
A = list(map(int, input().split()))
ans=0
for i in range(0,X,2):
    if A[i]%2!=0:
        ans+=1
for i in range(1,X,2):
    if A[i]%2==0:
        ans+=1

print(ans)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int, input().split()))
ans = 0
for i in range(n)[::2]:
    if a[i]%2 != 1:
        ans += 1

print(ans)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = [int(x) for x in input().split()]
cnt = 0
for a0 in a[::1]:
    if a0%2 == 1:
        cnt += 1
print(cnt)

Submission status: Wrong Answer

Solution code:
import sys
from collections import deque
import numpy as np
import math
sys.setrecursionlimit(10**6)
def S(): return sys.stdin.readline().rstrip()
def SL(): return map(str,sys.stdin.readline().rstrip().split())
def I(): return int(sys.stdin.readline().rstrip())
def IL(): return map(int,sys.stdin.readline().rstrip().split())

if __name__=='__main__':
    n = I()
    a = list(IL())
    c = 0
    for i,item in enumerate(a):
        if i%2==1 and item%2==1:
            c+=1
    print(c)
    exit()

Submission status: Wrong Answer

Solution code:
import sys
from collections import deque
import numpy as np
import math
sys.setrecursionlimit(10**6)
def S(): return sys.stdin.readline().rstrip()
def SL(): return map(str,sys.stdin.readline().rstrip().split())
def I(): return int(sys.stdin.readline().rstrip())
def IL(): return map(int,sys.stdin.readline().rstrip().split())

if __name__=='__main__':
    n = I()
    a = list(IL())
    c = 0
    for i,item in enumerate(a):
        if i%2==0:  continue
        if item%2==1:   c+=1
    print(c)
    exit()

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int, input().split()))

cnt = 0
for i in range(len(a)):
    if i %2 == 1 and a[i] %2 ==1:
        cnt += 1

print(cnt)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = [int(s) for s in input().split()]
ans = 0
for i in range(len(a)):
    if a[i] % 2 == 0 and i % 2 == 1:
        ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = [int(s) for s in input().split()]
ans = 0
for i in range(len(a)):
    if a[i] % 2 == 0 and i % 2 == 1:
        ans += 1
    print(ans)
print(ans)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = [int(s) for s in input().split()]
ans = 0
for i in range(len(a)):
    if a[i] % 2 == 1 and i % 2 == 1:
        ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
N = int(input())
res=[0 for _ in range(10050)]
for x in range(1,105):
    for y in range(1,105):
        for z in range(1,105):
            k=x*x+y*y+z*z+x*y+y*z+z*x
            if k<10050:
                res[k]+=1
for i in range(N):
    print(res[i+1])

Submission status: Wrong Answer

Solution code:
N = int(input())
res=[0 for _ in range(10050)]
for x in range(1,45):
    for y in range(1,45):
        for z in range(1,45):
            k=x*x+y*y+z*z+x*y+y*z+z*x
            if k<10050:
                res[k]+=1
for i in range(N):
    print(res[i+1])

Submission status: Wrong Answer

Solution code:
N = int(input())
res=[0] * 10050
for x in range(1,45):
    for y in range(1,45):
        for z in range(1,45):
            k=x*x+y*y+z*z+x*y+y*z+z*x
            if k>=10050: continue
            res[k]+=1
for i in range(N):
    print(res[i+1])

Submission status: Wrong Answer

Solution code:
N = int(input())
n = list(map(int,input().split()))

ans = 0
for i in range(N):
  if n[i] % 2 == 0 and (i-1)%2 == 0:
    ans += 1
    
print(ans)

Submission status: Wrong Answer

Solution code:
N = int(input())
n = list(map(int,input().split()))

ans = 0
for i in range(N):
  if n[i] % 2 == 0 and (i+1)%2 == 0:
    ans += 1
    
print(ans)

Submission status: Wrong Answer

Solution code:
N = int(input())
n = list(map(int,input().split()))

ans = 0
for i in range(N):
  if i % 2 == 0 and (i+1)%2 == 0:
    ans += 1
    
print(ans)

Submission status: Wrong Answer

Solution code:
n=int(input())
l=[0]
c=0
l.append(map(int,input().split()))
try:
  for i in range(1,n+1,2):
    if l[i]&1:
      c+=1
except:
  pass
print(c)

Submission status: Wrong Answer

Solution code:
N = int(input())
a = list(map(int,input().split()))
count = 0
for i in range(N):
    if i%2+a[i]%2 == 2:
        count += 1

print(count)

Submission status: Wrong Answer

Solution code:
N=int(input())
a=list(map(int,input().split()))
ans=0
for i in range(1,N,2):
    if a[i]%2==1:
        ans+=1
print(ans)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = map(int, input().split())
ans = 0
i = 0
for x in a:
  	if i % 2 == x % 2 == 1: ans += 1
  	i += 1
print(ans)

Submission status: Wrong Answer

Solution code:
n = int(input())
list_in_Num = map(int, input().split())
num_list = list(list_in_Num)
oddIndexandoddNum = 0
for i in range(1, n, 2):
    if num_list[i] % 2 == 1:
        oddIndexandoddNum += 1
print(oddIndexandoddNum)

Submission status: Wrong Answer

Solution code:
n = int(input())
m = input()
lst = m.split(" ")
num = 0
list2 = [int(i) for i in lst]
if(len(lst)==n):
    for elem in list2:
        if(elem%2==0 or elem%3==0 or elem%5==0):
            if(list2.index(elem)%2==0 or list2.index(elem)%3==0 or list2.index(elem)%5==0):
                num += 1
print(num)

Submission status: Wrong Answer

Solution code:
#! python3
# coding:utf-8

n = int(input())
numlist = list(map(int,input().split()))

cnt=0

for i in range(len(numlist)):
    if (i%2==1) and (numlist[i]%2==1):
        cnt+=1  

print(cnt)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int, input().split()))
ans = 0
for i in range(0,n,2):
  if a[i] % 2 == 0:
    ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int, input().split()))

cnt = 0
for i in range(n):
  if a[i] %2 == 1 and i // 2 != 0:
    cnt = cnt +1

print(cnt)

Submission status: Wrong Answer

Solution code:
N = int(input())
a = list(map(int, input().split()))

ans = 0
for i in range(N):
    if (i + 1) % 2 == 0 and a[i] % 2 == 1:
        ans += 1

print(ans)

Submission status: Wrong Answer

Solution code:
num_of_squares=int(input())
written_values=[i for i in input().split(" ")]
flag=0
for i in range (num_of_squares):
    if (i%2!=0) & (int(written_values[i])%2!=0):
        flag+=1
print(flag)

Submission status: Wrong Answer

Solution code:
x=int(input())
main=list(map(int,input().split()));count=0
for i in range(len(main)):
    if(main[i]%2!=0 and i%2!=0): count=count+1
print(count)

Submission status: Wrong Answer

Solution code:
print(sum([int(i)%2 for i in input().split()[::2]]))

Submission status: Wrong Answer

Solution code:
print(sum([int(i)%2 for i in input().split()[1::2]]))

Submission status: Wrong Answer

Solution code:
num1 = int(input())
num = (int(x) for x in input().split())

count = 0

for i, name in enumerate(num):
    if i % 2 == 1:
        if name % 2 == 1:
            count = count + 1

print(count)

Submission status: Wrong Answer

Solution code:
def main():
    N = int(input())
    A = list(map(int, input().split()))
    ans = 0
    for i, a in enumerate(A):
        if i % 2 == a % 2 == 1:
            ans += 1
    print(ans)


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
n=int(input())
L=[int(i) for i in input().split()]
count=0
for i in range(1,n+1,2):
  if(L[i-1]%2==0):
    count+=1
print(count)

Submission status: Wrong Answer

Solution code:
N=int(input())

a=list(map(int,input().split()))
x=0
for i in range(N):
  if i%2==1 and a[i]%2==1:
    x+=1
print(x)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int, input().split()))
cnt = 0
for i in range(1, len(a), 2):
    if a[i] % 2 == 1:
       cnt += 1
print(cnt)

Submission status: Wrong Answer

Solution code:
n = int(input())
string = input()
num_list = [int(i) for i in string.split()]
count = 0
for i in range(1, n-1):
  if i % 2 == num_list[i-1] % 2 == 1:
    count += 1
print(count)

Submission status: Wrong Answer

Solution code:
n = int(input())
string = input()
num_list = [int(i) for i in string.split()]
count = 0
for i in range(1, n-1):
  if i % 2 == num_list[i] % 2 == 1:
    count += 1
print(count)

Submission status: Wrong Answer

Solution code:
n = int(input())
string = input()
num_list = [int(i) for i in string.split()]
count = 0
for a, i in enumerate(num_list):
  if a+1 % 2 == i % 2 == 1:
    count += 1
print(count)

Submission status: Wrong Answer

Solution code:
N = int(input())
a = list(map(int,input().split()))

ans = 0

for i in range(N):
    if i*a[i] % 2 == 1:
        ans += 1

print(ans)

Submission status: Wrong Answer

Solution code:
input()
li = list(map(int, input().split()))
result = 0
for i in range(len(li)):
    if i + 1 % 2 == 1:
        if li[i] % 2 == 1:
            result += 1
print(result)

Submission status: Wrong Answer

Solution code:
input()
li = list(map(int, input().split()))
result = 0
for i in range(len(li)):
    if i % 2 == 1:
        if li[i] % 2 == 1:
            result += 1
print(result)

Submission status: Wrong Answer

Solution code:
n= int(input())
l=list(map(int,input().split()))
count = 0
for i in range(0,n,2):
    print(l[i]&1)
    if l[i]&1:
        count += 1
print(count)

Submission status: Wrong Answer

Solution code:
N=int(input())
a=[int(x) for x in input().split()]
cnt=0
for i in range(N):
  if i%2==1 and a[i]%2==1:
    cnt+=1
print(cnt)

Submission status: Wrong Answer

Solution code:
N = int(input())
an = x = [int(i) for i in input().split()]

count = 0
for i in range(len(an)):
    if (i % 2 == 0):
        continue
    if (an[i] % 2 != 0):
        count = count + 1

print(count)

Submission status: Wrong Answer

Solution code:
def main():
    n = int(input())
    
    a = list(map(int,input().split()))

    count = 0
    for i in range(n):
        if i%2==1 and a[i]%2==1:
            count+=1
    print(count)
    
if __name__=='__main__':
    main()

Submission status: Wrong Answer

Solution code:
N = int(input())
a = list(map(int,input().split()))
count = 0
for i in range(len(a)):
    if int(a[i]) % 2 == 1 and i % 2 == 1:
        count += 1
print(count)

Submission status: Wrong Answer

Solution code:
input()
A = [a for i, a in enumerate(input().split()) if 1 & i & int(a) == 1]

print(len(A))

Submission status: Wrong Answer

Solution code:
n=int(input())
a=list(map(int,input().strip().split()))[:n]
counter=0
for i in range (1,n,2):
    if(a[i]%2==1):
        counter+=1

print(counter)

Submission status: Wrong Answer

Solution code:
n=int(input())
a=list(map(int,input().strip().split()))[:n]
counter=0
for i in range (1,n,2):
    if(a[i]%2!=0):
        counter+=1

print(counter)

Submission status: Wrong Answer

Solution code:
n= int(input())
li=list(map(int,input().split()))
a=int(0)
for i in range(1,n,2):
    if li[i]%2==1:
        a+=1
    else:
        a+=0
print(a)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int, input().split()))
ans = 0
for i in range(1, n, 2):
    if a[i] % 2 == 1: ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
intArrLength = int(input())
intArr = list(map(int, input().split()))

oddCounter = 0
for i in range(intArrLength):
    if i % 2 == 1 and intArr[i] % 2 == 1:
        oddCounter += 1

print(oddCounter)

Submission status: Wrong Answer

Solution code:
intArrLength = int(input())
intArr = list(map(int, input().split()))

oddCounter = 0
for i in range(intArrLength):
    if i % 2 != 0 and intArr[i] % 2 != 0:
        oddCounter += 1

print(oddCounter)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int, input().split()))
cnt = 0
for i in range(1, n, 2):
    if a[i] % 2 == 1:
        cnt += 1
    else:
        continue
print(cnt)

Submission status: Wrong Answer

Solution code:
N = int(input())
a = list(map(int, input().split()))


answer = 0
for i, e in enumerate(a):
    if i % 2 != 0 and e % 2 != 0:
        answer += 1 
print(answer)

Submission status: Wrong Answer

Solution code:
n = int(input())
A = list(map(int, input().split()))
ans = 0
if len(A) > 2:
  for a in A[::2]:
    if a % 2 == 1:
      ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int, input().split()))
count = 0

for i in range(n):
  if (i + 1) % 2 == 0:
    if a[i] % 2 == 0: 
      count += 1
      
print(count)

Submission status: Wrong Answer

Solution code:
suu = int(input())
lis = input().split()
lis = [int(lis)for lis in lis]


count= 0
for i in range(len(lis)):
    if i%2 != 0 and lis[i] % 2 !=0 :
        count += 1


print(count)

Submission status: Wrong Answer

Solution code:
n =int(input())
a =list(map(int,input().split()))

#print(a)

cnt = 0

for i in range(n):
  #print(i)
  if i%2 ==1:
    if a[i]%2 ==1:
      cnt +=1
        
print(cnt)

Submission status: Wrong Answer

Solution code:
n = int(input())
lst = list(map(int, input().split()))
ans = 0
for i in range(n):
  if i%2 == 1 and lst[i]%2 == 1:
    ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int, input().split()))
output = 0


for i in range(n):
    if (i+1 % 2 == 1) and (a[i] % 2 == 1):
        output = output + 1
        
print(output)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int, input().split()))
output = 0


for i in range(n):
    if (i % 2 == 1) and (a[i] % 2 == 1):
        output = output + 1
        
print(output)

Submission status: Wrong Answer

Solution code:
n=int(input())
a=list(map(int,input().split()))

c=0

for i in range(0,n):
  if i%2 == 1 and a[i]%2 == 1:
    c+=1
print(c)

Submission status: Wrong Answer

Solution code:
n=int(input())
a=list(map(int,input().split()))

c=0

for i in range(0,n):
  if i%2 != 0 and a[i]%2 != 0:
    c+=1
print(c)

Submission status: Wrong Answer

Solution code:
n=int(input())
a=list(map(int,input().split()))

c=0

for i in range(0,n):
  if i%2!=0 or a[i]%2!=0:
    c+=1
print(c)

Submission status: Wrong Answer

Solution code:
n=int(input())
a=list(map(int,input().split()))

c=0

for i in range(0,n):
  if i%2!=0 and a[i]%2!=0:
    c+=1
print(c)

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-


def main():
    N = int(input())
    A = list(map(int, input().split()))

    ans = 0

    for i in range(N):
        if i % 2 != 0 and A[i] % 2 != 0:
            ans += 1
    
    print(ans)


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
n = int(input())
cnt = 0
arr = [int(x) for x in input().split()]
for i in range(0, len(arr), 2):
    if arr[i] % 2 == 0:
        cnt += 1

print(cnt)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int,input().split()))

cnt=0
for i in range(len(a)):
    if (i+1)&1==a[i]==1:
        cnt+=1
print(cnt)

Submission status: Wrong Answer

Solution code:
n =int(input())
a =list(map(int,input().split()))

ans =0
for i in range(1,n,2):
    if a[i]%2==1:
        ans +=1
print(ans)

Submission status: Wrong Answer

Solution code:
n = int(input())
z = input().split()
odd = 0
for i in range(n):
    if i % 2 == 1:
        if int(z[i]) % 2 == 1:
            odd += 1
print(odd)

Submission status: Wrong Answer

Solution code:
N = int(input())
a = []
a = input().split()

count = 0

for i in range(int(N/2)):
  cd = 2 * i
  jd = int(a[cd])
  if jd % 2 == 1:
    count += 1

print(count)

Submission status: Wrong Answer

Solution code:
N = int(input())
a = []
a = input().split()

count = 0

for i in range(int(N/2)):
  cd = 2 * i
  jd = int(a[cd])
  if jd % 2 == 1:
    count += 1
    print(cd, jd)
    

print(count)

Submission status: Wrong Answer

Solution code:
N = int(input())
a = []
a = input().split()

count = 0

for i in range(int(N/2)):
  cd = 2 * i - 2
  jd = int(a[cd])
  if jd % 2 == 1:
    count += 1
    

print(count)

Submission status: Wrong Answer

Solution code:
N = int(input())
a = []
a = input().split()

count = 0

for i in range(int(N/2)):
  cd = 2 * i - 1
  jd = int(a[cd])
  if jd % 2 == 1:
    count += 1
    

print(count)

Submission status: Wrong Answer

Solution code:
n=int(input())
A=list(map(int,input().split()))
cnt=0
for i in range(n):
  if A[i]%2!=i%2:
    cnt+=1
print(cnt)

Submission status: Wrong Answer

Solution code:
def main():
    N = int(input())
    A = [int(x) for x in input().split()]
    cnt = 0
    for i in range(N):
        if i % 2 == 1 and A[i] % 2 == 1:
            cnt += 1
    print(cnt)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
n=int(input())
a=list(map(int,input().split()))
ans=0
for i in range(1,n,2):
    if a[i]%2==1:
        ans+=1
print(ans)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int, input().split()))

ans = 0
for i in range(1, n, 2):
  if a[i] % 2 == 1:
    ans += 1

print(ans)

Submission status: Wrong Answer

Solution code:
N = int(input())
a = list(map(int, input().split()))
cnt = 0
 
for i in range(N):
    if i % 2 == 1:
        if a[i] % 2 == 1:
            cnt +=1
print(cnt)

Submission status: Wrong Answer

Solution code:
N = int(input())
a = list(map(int, input().split()))
cnt = 0

for i in range(N):
    if i % 2 == 1:
        if a[i] % 2 == 1:
            print(a[i])
            cnt +=1
print(cnt)

Submission status: Wrong Answer

Solution code:
n=int(input())
a=list(map(int, input().split()))
count = 0
for i in range(1,n,2):
  if a[i] % 2 == 1:
    count += 1
print(count)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int, input().split()))
cnt = 0
for i in range(n, 1):
  if i%2 != 0:
    cnt += 1
    
print(cnt)

Submission status: Wrong Answer

Solution code:
N = int(input())
a = list(map(int, input().split()))

ans = 0

for index, item in enumerate(a):
    if index % 2 != 0 and item % 2 != 0:
        ans += 1

print(ans)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

N = int(input())
A = list(map(int, input().split()))

counter = 0

for i in range(N):
    if i % 2 == 1 and A[i] % 2 == 1:
        counter += 1
        
print(counter)

Submission status: Wrong Answer

Solution code:
N = int(input())
A = map(int, input().split())
print(sum((i + 1 * a) % 2 for i, a in enumerate(A)))

Submission status: Wrong Answer

Solution code:
n = input()
a = list(map(int,input().split()))
ans = 0
for i in a[1::2]:
	if i % 2 == 1:
		ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
n=map(int,input().split())
a=list(map(int,input().split()))

N=0
new_a=a[1::2]

for i in new_a:
    if i%2==0:
        N += 1

print(len(new_a)-N)

Submission status: Wrong Answer

Solution code:
n=map(int,input().split())
a=list(map(int,input().split()))

N=0
new_a=a[1::2]

for i in new_a:
    if i%22==0:
        N += 1

print(len(new_a)-N)

Submission status: Wrong Answer

Solution code:
N = int(input())
a = list(map(int, input().split()))

ans = sum(1 for i, j in enumerate(a) if i % 2 == 1 and j % 2 == 1)

print(ans)

Submission status: Wrong Answer

Solution code:
N=int(input())
ai=list(map(int,input().split()))

count = 0
for i in range(N):
    if i%2==1:
        if ai[i]%2==1:
            count += 1
print(count)

Submission status: Wrong Answer

Solution code:
N=int(input())
ai=list(map(int,input().split()))

ans=0

for i in range(N):
    if i%2==1:
        pass

    if ai[i] %2==1:
        ans+=1
print(ans)

Submission status: Wrong Answer

Solution code:
N=int(input())
ai=list(map(int,input().split()))

ans=0

for i in range(N):
    if i%2==0:
        pass
    
    if ai[i] %2==1:
        ans+=1
print(ans)

Submission status: Wrong Answer

Solution code:
N = int(input())
A = list(map(int, input().split()))
ans = 0
for i in range(N):
    if i%2==1 and A[i]%2==1:
        ans +=1
print(ans)

Submission status: Wrong Answer

Solution code:
N = int(input())
a = list(map(int,input().split()))

ans = 0

for i in range(N):
  if i%2==1 and a[i]%2==1:
    ans += 1

print(ans)

Submission status: Wrong Answer

Solution code:
n=int(input())
arr=list(map(int,input().split()))
cnt=0
for i in range(n):
    if i%2==1 and arr[i]%2==1:
        cnt+=1
print(cnt)

Submission status: Wrong Answer

Solution code:
N=int(input())
li=list(map(int,input().split()))
cnt=0
for i in range(N):

  if li[i]%2!=0 and i%2==1:
    cnt+=1
    
print(cnt)

Submission status: Wrong Answer

Solution code:
N, *a = map(int, open(0).read().split())

print(sum(e for e in a[::2] if e % 2 == 1))

Submission status: Wrong Answer

Solution code:
N,*a = map(int,open(0).read().split())
cnt = 0
for i in a[1::2]:
    if i % 2 != 0:
        cnt += 1
print(cnt)

Submission status: Wrong Answer

Solution code:
N = int(input())
*A, = map(int, input().split())
ans = 0
for i, a in enumerate(A):
    if i & 1 and a & 1:
        ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
N = int(input())

masu = [int(i) for i in input().split(' ')]

count = 0
for i in range(len(masu)):
  if (i+1)%2 == 0 and masu[i]%2 == 1:
    count += 1
    
print(count)

Submission status: Wrong Answer

Solution code:
N = int(input())
a = list(map(int, input().split()))
count = 0
for i, a in enumerate(a):
    if i+1 % 2 == 1:
        if a % 2 == 1:
            count += 1
print(count)

Submission status: Wrong Answer

Solution code:
N = int(input())
a = list(map(int, input().split()))
count = 0
for i, a in enumerate(a):
    if i % 2 == 1:
        if a % 2 == 1:
            count += 1
print(count)

Submission status: Wrong Answer

Solution code:
N = int(input())
A = list(map(int,input().split()))
ans = 0
for i in range(N):
  if i % 2 == 0:
    if A[i] % 2 == 0:
      ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
N = int(input())
a = list(map(int, input().split()))

ans = 0
for i in range(N):
    if i%2 != 0:
        if a[i]%2 != 0:
            ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
n=int(input())
a=list(map(int,input().split()))
ans=0
for i in range(1,len(a),2):
    if a[i]%2==1:
        ans+=1
print(ans)

Submission status: Wrong Answer

Solution code:
n=int(input())
a=list(map(int,input().split()))
cnt=0
for i in range(n):
  if i%2 and a[i]%2:
    cnt+=1
print(cnt)

Submission status: Wrong Answer

Solution code:
n=int(input())
a=list(map(int,input().split()))
ans=0
for i in a[1::2]:
  ans+=i%2
print(ans)

Submission status: Wrong Answer

Solution code:
N=int(input())
a = list(map(int,input().split()))
b=int(0)
for i in range(N):
  if i%2==1 and a[i]%2==1:
    b=b+1
print(b)

Submission status: Wrong Answer

Solution code:
import sys

sys.setrecursionlimit(10 ** 7)

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

N = int(input())
A = list(map(int, input().split()))

ans = 0
for i in range(N):
    if i % 2 == 1 and A[i] % 2 == 1:
        ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
N = int(input())
ans = 0
for n in range(1, N+1):
    for x in range(1, 101):
        for y in range(1, 101):
            for z in range(1,101):
                if x**2 + y**2 + z**2 + x*y + y*z + z*x == n:
                    ans+=1
    print(ans)
    ans=0

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int,input().split()))
cnt = 0
for i in range(1,len(a),2):
    if a[i]%2==1:
        cnt += 1
print(cnt)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int,input().split()))

count = 0
for i,num in enumerate(a):
    if i%2==1 and num%2==1:
        count+=1


print(count)

Submission status: Wrong Answer

Solution code:
n = int(input())
s = list(map(int,input().split()[:n]))
a = 0
for i in range(1,len(s)):
  if((i%2 == 0) and (s[i]%2 !=0)):
    a+=1
print(a)

Submission status: Wrong Answer

Solution code:
n = int(input())
s = list(map(int,input().split()[:n]))
a = 0
for i in range(1,len(s)):
  if((i%2 != 0) and (s[i]%2 !=0)):
    a+=1
print(a)

Submission status: Wrong Answer

Solution code:
def main():
    n = int(input())
    a = tuple([int(t)for t in input().split()])

    ans = 0
    for i in range(n):
        if i%2==1 and a[i] %2 == 1:
            ans+=1
    print(ans)
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int,input().split()))

ans = 0
for i,e in enumerate(a):
    if i % 2 == 1 and e % 2 == 1:
        ans += 1

print(ans)

Submission status: Wrong Answer

Solution code:
n = int(input())
mas = list(map(int,input().split()))

mlen = len(mas)
kiss = 0
ans = 0

if n % 2 == 0:
    kiss = n / 2
else:
    kiss = ((n - 1) / 2) + 1
kiss = int(kiss)
for i in mas:
    i % 2 != 0
    ans += 1

ans1 = ans + kiss
print(ans1)

Submission status: Wrong Answer

Solution code:
n = int(input("Enter your limit : "))
s = list(map(int,input().split()[:n]))
a = 0
for i in range(1,len(s)):
  if((i%2 != 0) and (s[i]%2 !=0)):
    a+=1
print(a)

Submission status: Wrong Answer

Solution code:
n = int(input())
x = input().split()

masu_list = []
for i in range(n):
    if not i%2==0:
        masu_list.append(i)
    else:
        pass

answer_list=[]
for masu in masu_list:
    masu = masu-1
    answer_list.append(x[masu])

answer = [int(s) for s in answer_list]
answer_list_2=[]
for ans in answer:
    if not ans%2==0:
         answer_list_2.append(ans)
    else:
        pass
print(len(answer_list_2))

Submission status: Wrong Answer

Solution code:
a = int(input())
b = list(map(int, input().split()))
count = 0

for i in range(a):
  if i % 2 != 0:
    if b[i] % 2 != 0:
      count += 1
      
print(count)

Submission status: Wrong Answer

Solution code:
n = int(input())
l = list(map(int,input().split()))
m = []
for i in range(n):
  if i%2==0 and l[i]%2!=0:
    m.append(l[i])

print(m)

Submission status: Wrong Answer

Solution code:
N = int(input())
num_list = list(map(int, input().split()))
ans = 0

for i in range(0,len(num_list)):
   if num_list[i]%2 == 1 and (num_list.index(num_list[i])+1)%2 == 1:
       ans += 1

print(ans)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int, input().split()))
cnt = 0
for i in range(1, n, 2):
    if a[i] % 2 == 1:
        cnt += 1
print(cnt)

Submission status: Wrong Answer

Solution code:
n = int(input())
num_list = list(map(int, input().split()))
cns = 0 
for i in range(len(num_list)):
    if i % 2 == 1 and num_list[i] % 2 == 1:
        cns += 1

print(cns)

Submission status: Wrong Answer

Solution code:
n=int(input())
a = list(map(int,input().split()))
count=0
for i in range(n):
    if i%2==1 and a[i]%2==1:
        count+=1
print(count)

Submission status: Wrong Answer

Solution code:
N, *A = map(int, open(0).read().split())
cnt = 0
for i in range(1, N, 2):
    if A[i] > 0 and A[i] % 2 == 1:
        cnt += 1
print(cnt)

Submission status: Wrong Answer

Solution code:
n = int(input())
a = list(map(int, input().split()))

result = 0

for i in range(n):
    if (i+1)%2 == 0 and a[i]%2 != 0:
        result +=1
print(result)

Submission status: Wrong Answer

Solution code:
n=int(input())
l=list(map(int, input().split()))
#print(l)
count = 0
for i in range(1,n,2):
    if l[i-1]%2 == 1:
        count += 1
print(count)

Submission status: Wrong Answer

Solution code:

N = int(input())
AAA = [int(i) for i in input().split()]

cnt = 0
for i in range(N):
    if i % 2 == 1 and AAA[i] % 2 == 1:
        cnt += 1

print(cnt)

Submission status: Wrong Answer

Solution code:
n = int(input())
As = list(map(int, input().split()))
cnt = 0
for i,a in enumerate(As):
    if i%2 == 1 and a %2 == 1:
        cnt += 1
print(cnt)

Submission status: Wrong Answer

Solution code:
def main():
    N = input_ints()

    a = input_int_list_in_line()

    print(len([True for i in range(N) if i % 2 == 0 and a[i] % 2 == 0]))




def input_ints():
    line_list = input().split()

    if len(line_list) == 1:
        return int(line_list[0])
    else:
        return map(int, line_list)


def input_int_list_in_line():
    return list(map(int, input().split()))


def input_int_tuple_list(n: int):
    return [tuple(map(int, input().split())) for _ in range(n)]


main()

Submission status: Wrong Answer

Solution code:
n=int(input())
l=list(map(int, input().split()))
#print(l)
count = 0
for i in range(1,n,2):
    if l[i]%2 == 1:
        count += 1
print(count)

Submission status: Wrong Answer

Solution code:
n=int(input())
count=0
a=list(map(int,input().split()))
for i in range(len(a)-1):
    if a[i-1]%2!=0 and i%2!=0:
        count+=1
print(count)

Submission status: Wrong Answer

Solution code:
N = int(input())
arr = list(map(int, input().split()))
ans = 0
for i in range(N):
  if i%2==1 and arr[i]%2==1:
    ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
n=int(input())
count=0
a=list(map(int,input().split()))
for i in range(len(a)-1):
    if a[i]%2!=0 and i%2!=0:
        count+=1
print(count)

Submission status: Wrong Answer

Solution code:
n=int(input())
count=0
a=list(map(int,input().split()))
for i in range(len(a)):
    if a[i]%2!=0 and i%2!=0:
        count+=1
print(count)