The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.
				Error code: UnexpectedError
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
user_id
				 
			string  | problem_id
				 
			string  | submission1_id
				 
			string  | submission2_id
				 
			string  | status1
				 
			string  | status2
				 
			string  | code1
				 
			string  | code2
				 
			string  | original_language1
				 
			string  | original_language2
				 
			string  | date1
				 
			string  | date2
				 
			string  | bleu_score
				 
			string  | code1_test_status
				 
			sequence  | code1_test_score
				 
			int64  | total_score
				 
			int64  | input
				 
			string  | actual_output
				 
			string  | expected_output
				 
			string  | anno_code
				 
			sequence  | anno_status
				 
			sequence  | diff_content
				 
			string  | FL_content
				 
			string  | added_lines
				 
			int64  | removed_lines
				 
			int64  | code1_lines
				 
			int64  | 
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
	u572032237 
 | 
	p02607 
 | 
	s788406617 
 | 
	s158841330 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	n = int(input())
a = [int(s) for s in input().split()]
ans = 0
for i in range(len(a)):
    if i % 2 == 0 and a[i] % 2 == 1:
            ans += 1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1596888314 
 | 
	1596889684 
 | 
	0.9475759206680122 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
13 76 46 15 54 98 93 77 31 43 84 90 5 24 14
 
 | 
	3
 
 | 
	4
 
 | 
	[
  "n = int(input()) # (0): n=15\na = [int(s) for s in input().split()] # (1): a=[13, 76, 46, 15, 54, 98, 93, 77, 31, 43, 84, 90, 5, 24, 14]\nans = 0 # (2): ans=0\nfor i in range(len(a)): # (3): i=0 (5): i=1 ... (36): NO CHANGE\n    if a[i] % 2 == 1 and i % 2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (35): NO CHANGE\n        ans += 1 # (11): ans=1 (20): ans=2 (25): ans=3\nprint(ans)"
]  | 
	[
  true
]  | 
	 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
+    if i % 2 == 0 and a[i] % 2 == 1:
+            ans += 1
 print(ans)
 
 | 
	 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)
 
 | 2 
							 | 2 
							 | 7 
							 | 
					
	u205116974 
 | 
	p02607 
 | 
	s185767297 
 | 
	s476983328 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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)
     
 | 
	n = int(input())
l = list(map(int,input().split()))
count = 0
for i in range(n):
    if (i+1)%2 == 1 and l[i]%2 == 1:
        count += 1
print(count)
     
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594517079 
 | 
	1594517166 
 | 
	0.9588926431983638 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
13 76 46 15 54 98 93 77 31 43 84 90 5 24 14
 
 | 
	3
 
 | 
	4
 
 | 
	[
  "n = int(input()) # (0): n=15\nl = list(map(int,input().split())) # (1): l=[13, 76, 46, 15, 54, 98, 93, 77, 31, 43, 84, 90, 5, 24, 14]\ncount = 0 # (2): count=0\nfor i in range(n): # (3): i=0 (5): i=1 ... (36): NO CHANGE\n    if i%2 == 1 and l[i]%2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (35): NO CHANGE\n        count += 1 # (11): count=1 (20): count=2 (25): count=3\nprint(count)\n    "
]  | 
	[
  true
]  | 
	 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:
+    if (i+1)%2 == 1 and l[i]%2 == 1:
         count += 1
 print(count)
     
 
 | 
	 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)
     
 
 | 1 
							 | 1 
							 | 8 
							 | 
					
	u829416877 
 | 
	p02607 
 | 
	s013805936 
 | 
	s855770522 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N = int(input())
a = list(map(int, input().split()))
b = a[1::2]
ans = 0
for i in range(len(b)):
  if b[i]%2 == 1:
    ans += 1
print(ans) 
 | 
	N = int(input())
a = list(map(int, input().split()))
b = a[::2]
ans = 0
for i in range(len(b)):
  if b[i]%2 == 1:
    ans += 1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516123 
 | 
	1594516279 
 | 
	0.9816344125018089 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 5 46 15 50 98 93 87 31 43 44 11 6 24 14
 
 | 
	5
 
 | 
	3
 
 | 
	[
  "N = int(input()) # (0): N=15\na = list(map(int, input().split())) # (1): a=[15, 5, 46, 15, 50, 98, 93, 87, 31, 43, 44, 11, 6, 24, 14]\nb = a[1::2] # (2): b=[5, 15, 98, 87, 43, 11, 24]\nans = 0 # (3): ans=0\nfor i in range(len(b)): # (4): i=0 (7): i=1 ... (23): NO CHANGE\n  if b[i]%2 == 1: # (5): NO CHANGE (8): NO CHANGE ... (22): NO CHANGE\n    ans += 1 # (6): ans=1 (9): ans=2 ... (20): ans=5\nprint(ans)"
]  | 
	[
  true
]  | 
	 N = int(input())
 a = list(map(int, input().split()))
-b = a[1::2]
+b = a[::2]
 ans = 0
 for i in range(len(b)):
   if b[i]%2 == 1:
     ans += 1
 print(ans)
 
 | 
	 N = int(input())
 a = list(map(int, input().split()))
-b = a[1::2]
 ans = 0
 for i in range(len(b)):
   if b[i]%2 == 1:
     ans += 1
 print(ans)
 
 | 1 
							 | 1 
							 | 8 
							 | 
					
	u386089355 
 | 
	p02607 
 | 
	s169348948 
 | 
	s112681231 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	N = int(input())
a = list(map(int, input().split()))
ans = 0
for i in range(N):
    if (i + 1) % 2 == 1 and a[i] % 2 == 1:
        ans += 1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1595800259 
 | 
	1595800413 
 | 
	0.9833035848825603 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 109 15 87 98 29 161 0 60 44 11 9 14 32
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "N = int(input()) # (0): N=15\na = list(map(int, input().split())) # (1): a=[1, 3, 109, 15, 87, 98, 29, 161, 0, 60, 44, 11, 9, 14, 32]\n\nans = 0 # (2): ans=0\nfor i in range(N): # (3): i=0 (5): i=1 ... (37): NO CHANGE\n    if (i + 1) % 2 == 0 and a[i] % 2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (36): NO CHANGE\n        ans += 1 # (7): ans=1 (12): ans=2 ... (30): ans=4\n\nprint(ans)"
]  | 
	[
  true
]  | 
	 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:
+    if (i + 1) % 2 == 1 and a[i] % 2 == 1:
         ans += 1
 
 print(ans)
 
 | 
	 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)
 
 | 1 
							 | 1 
							 | 9 
							 | 
					
	u425236751 
 | 
	p02607 
 | 
	s672795577 
 | 
	s857021851 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N = int(input())
a = list(map(int,input().split()))
ans=0
for i,aa in enumerate(a):
  if(i%2!=0):
    if(aa%2!=0):
      ans+=1
print(ans)
   
 | 
	N = int(input())
a = list(map(int,input().split()))
ans=0
for i in range(0,len(a),2):
  if(a[i]%2!=0):
    ans+=1
print(ans)
   
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516649 
 | 
	1594516740 
 | 
	0.7589263737922184 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 111 15 000 98 7 78 1 60 9 13 12 11 54
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "N = int(input()) # (0): N=15\na = list(map(int,input().split())) # (1): a=[1, 3, 111, 15, 0, 98, 7, 78, 1, 60, 9, 13, 12, 11, 54]\nans=0 # (2): ans=0\nfor i,aa in enumerate(a): # (3): i=0, aa=1 (5): i=1, aa=3 ... (44): NO CHANGE\n  if(i%2!=0): # (4): NO CHANGE (6): NO CHANGE ... (43): NO CHANGE\n    if(aa%2!=0): # (7): NO CHANGE (13): NO CHANGE ... (40): NO CHANGE\n      ans+=1 # (8): ans=1 (14): ans=2 ... (41): ans=4\nprint(ans)\n  "
]  | 
	[
  true
]  | 
	 N = int(input())
 a = list(map(int,input().split()))
 ans=0
-for i,aa in enumerate(a):
-  if(i%2!=0):
-    if(aa%2!=0):
-      ans+=1
+for i in range(0,len(a),2):
+  if(a[i]%2!=0):
+    ans+=1
 print(ans)
   
 
 | 
	 N = int(input())
 a = list(map(int,input().split()))
 ans=0
-for i,aa in enumerate(a):
-  if(i%2!=0):
-    if(aa%2!=0):
-      ans+=1
 print(ans)
   
 
 | 3 
							 | 4 
							 | 9 
							 | 
					
	u548723151 
 | 
	p02607 
 | 
	s907080815 
 | 
	s517997779 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	N = int(input())
arr = list(map(int, input().split()))
ans = 0
for i in range(N):
  if i%2==0 and arr[i]%2==1:
    ans += 1
print(ans) 
 | 
	PyPy3 (7.3.0) 
 | 
	PyPy3 (7.3.0) 
 | 
	1594519554 
 | 
	1594519597 
 | 
	0.9810218387623372 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 111 15 000 98 7 78 1 60 9 13 12 11 54
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "N = int(input()) # (0): N=15\narr = list(map(int, input().split())) # (1): arr=[1, 3, 111, 15, 0, 98, 7, 78, 1, 60, 9, 13, 12, 11, 54]\nans = 0 # (2): ans=0\nfor i in range(N): # (3): i=0 (5): i=1 ... (37): NO CHANGE\n  if i%2==1 and arr[i]%2==1: # (4): NO CHANGE (6): NO CHANGE ... (36): NO CHANGE\n    ans += 1 # (7): ans=1 (12): ans=2 ... (34): ans=4\nprint(ans)"
]  | 
	[
  true
]  | 
	 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:
+  if i%2==0 and arr[i]%2==1:
     ans += 1
 print(ans)
 
 | 
	 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)
 
 | 1 
							 | 1 
							 | 7 
							 | 
					
	u358859892 
 | 
	p02607 
 | 
	s475501784 
 | 
	s440266708 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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)
 
 | 
	n = int(input())
a = list(map(int, input().split()))
ans = 0
for i in range(n):
    if i % 2 == 0 and a[i] % 2 == 1:
        ans += 1
print(ans)
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1599587458 
 | 
	1599587524 
 | 
	0.9826065193797625 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 5 71 15 50 98 135 87 0 43 44 11 6 24 2
 
 | 
	5
 
 | 
	3
 
 | 
	[
  "n = int(input()) # (0): n=15\na = list(map(int, input().split())) # (1): a=[15, 5, 71, 15, 50, 98, 135, 87, 0, 43, 44, 11, 6, 24, 2]\n\nans = 0 # (2): ans=0\nfor i in range(n): # (3): i=0 (5): i=1 ... (38): NO CHANGE\n    if i % 2 == 1 and a[i] % 2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (37): NO CHANGE\n        ans += 1 # (7): ans=1 (12): ans=2 ... (31): ans=5\nprint(ans)\n"
]  | 
	[
  true
]  | 
	 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:
+    if i % 2 == 0 and a[i] % 2 == 1:
         ans += 1
 print(ans)
 
 
 | 
	 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)
 
 
 | 1 
							 | 1 
							 | 9 
							 | 
					
	u081714930 
 | 
	p02607 
 | 
	s706960946 
 | 
	s684064014 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
lis = list(map(int,input().split()))
cnt=0
n=0
for i in lis:
    if (i)%2 != 0 and n%2 != 0:
        cnt += 1
    n += 1
    print(n)
print(cnt) 
 | 
	n = int(input())
lis = list(map(int,input().split()))
cnt=0
n=1
for i in lis:
    if i%2 != 0 and n%2 != 0:
        cnt += 1
    n += 1
print(cnt) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516131 
 | 
	1594516248 
 | 
	0.8684410355919445 
 | 
	[
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0
]  | 0 
							 | 102 
							 | 
	15
1 3 109 15 132 98 29 161 1 60 8 11 9 14 32
 
 | 
	1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
4
 
 | 
	5
 
 | 
	[
  "n = int(input()) # (0): n=15\nlis = list(map(int,input().split())) # (1): lis=[1, 3, 109, 15, 132, 98, 29, 161, 1, 60, 8, 11, 9, 14, 32]\n\ncnt=0 # (2): cnt=0\nn=0 # (3): n=0\nfor i in lis: # (4): i=1 (8): i=3 ... (68): NO CHANGE\n    if (i)%2 != 0 and n%2 != 0: # (5): NO CHANGE (9): NO CHANGE ... (65): NO CHANGE\n        cnt += 1 # (10): cnt=1 (19): cnt=2 ... (53): cnt=4\n    n += 1 # (6): n=1 (11): n=2 ... (66): n=15\n    print(n) # (7): NO CHANGE (12): NO CHANGE ... (67): NO CHANGE\nprint(cnt)"
]  | 
	[
  true
]  | 
	 n = int(input())
 lis = list(map(int,input().split()))
 
 cnt=0
-n=0
+n=1
 for i in lis:
-    if (i)%2 != 0 and n%2 != 0:
+    if i%2 != 0 and n%2 != 0:
         cnt += 1
     n += 1
-    print(n)
 print(cnt)
 
 | 
	 n = int(input())
 lis = list(map(int,input().split()))
 
 cnt=0
-n=0
 for i in lis:
-    if (i)%2 != 0 and n%2 != 0:
         cnt += 1
     n += 1
-    print(n)
 print(cnt)
 
 | 2 
							 | 3 
							 | 11 
							 | 
					
	u164734529 
 | 
	p02607 
 | 
	s782411801 
 | 
	s937025426 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	from sys import stdin
def readline_from_stdin() -> str:
    return stdin.readline().rstrip
if __name__ == '__main__':
    N = int(input())
    A = input().split()
    a = [int(v) for _, v in enumerate(A)]
    print(len([v for i, v in enumerate(a) if i % 2 != 0 and v % 2 != 0]))
 
 | 
	from sys import stdin
def readline_from_stdin() -> str:
    return stdin.readline().rstrip
if __name__ == '__main__':
    N = int(input())
    A = input().split()
    a = [int(v) for _, v in enumerate(A)]
    print(len([v for i, v in enumerate(a) if (i+1) % 2 != 0 and v % 2 != 0]))
 
 | 
	PyPy3 (7.3.0) 
 | 
	PyPy3 (7.3.0) 
 | 
	1594516052 
 | 
	1594516205 
 | 
	0.9780742014742684 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 10 109 15 87 98 29 161 0 60 44 11 9 14 19
 
 | 
	3
 
 | 
	6
 
 | 
	[
  "from sys import stdin\n\n\ndef readline_from_stdin() -> str: # (0): readline_from_stdin=<function readline_from_stdin>\n    return stdin.readline().rstrip\n\n\nif __name__ == '__main__':\n    N = int(input())\n    A = input().split()\n    a = [int(v) for _, v in enumerate(A)]\n    print(len([v for i, v in enumerate(a) if i % 2 != 0 and v % 2 != 0]))\n"
]  | 
	[
  true
]  | 
	 from sys import stdin
 
 
 def readline_from_stdin() -> str:
     return stdin.readline().rstrip
 
 
 if __name__ == '__main__':
     N = int(input())
     A = input().split()
     a = [int(v) for _, v in enumerate(A)]
-    print(len([v for i, v in enumerate(a) if i % 2 != 0 and v % 2 != 0]))
+    print(len([v for i, v in enumerate(a) if (i+1) % 2 != 0 and v % 2 != 0]))
 
 
 | 
	 from sys import stdin
 
 
 def readline_from_stdin() -> str:
     return stdin.readline().rstrip
 
 
 if __name__ == '__main__':
     N = int(input())
     A = input().split()
     a = [int(v) for _, v in enumerate(A)]
-    print(len([v for i, v in enumerate(a) if i % 2 != 0 and v % 2 != 0]))
 
 
 | 1 
							 | 1 
							 | 13 
							 | 
					
	u962718741 
 | 
	p02607 
 | 
	s286722438 
 | 
	s883852206 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	
def main():
    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)
if __name__ == "__main__":
    main()
 
 | 
	
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 == 1):
            ans += 1
    print(ans)
if __name__ == "__main__":
    main()
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516048 
 | 
	1594516163 
 | 
	0.989070500037052 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
13 76 46 15 50 98 93 77 31 43 84 90 5 24 14
 
 | 
	3
 
 | 
	4
 
 | 
	[
  "\n\ndef main(): # (0): main=<function main>\n    N = int(input())\n    a = list(map(int, input().split()))\n\n    ans = 0\n    for i in range(N):\n        if i % 2 == 1 and (a[i] % 2 == 1):\n            ans += 1\n\n    print(ans)\n\n\nif __name__ == \"__main__\":\n    main()\n"
]  | 
	[
  true
]  | 
	 
 
 def main():
     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):
+        if i % 2 == 0 and (a[i] % 2 == 1):
             ans += 1
 
     print(ans)
 
 
 if __name__ == "__main__":
     main()
 
 
 | 
	 
 
 def main():
     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)
 
 
 if __name__ == "__main__":
     main()
 
 
 | 1 
							 | 1 
							 | 17 
							 | 
					
	u115877451 
 | 
	p02607 
 | 
	s506101046 
 | 
	s812347404 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	a=int(input())
b=list(map(int,input().split()))
ans=0
for i in range(a):
    if i%2==1 and b[i]%2==1:
        ans+=1
print(ans) 
 | 
	a=int(input())
b=list(map(int,input().split()))
ans=0
for i in range(a):
    if (i+1)%2==1 and b[i]%2==1:
        ans+=1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515766 
 | 
	1594515791 
 | 
	0.9515640777433625 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 5 71 15 50 98 135 87 0 43 44 11 6 24 11
 
 | 
	5
 
 | 
	4
 
 | 
	[
  "a=int(input()) # (0): a=15\nb=list(map(int,input().split())) # (1): b=[15, 5, 71, 15, 50, 98, 135, 87, 0, 43, 44, 11, 6, 24, 11]\nans=0 # (2): ans=0\nfor i in range(a): # (3): i=0 (5): i=1 ... (38): NO CHANGE\n    if i%2==1 and b[i]%2==1: # (4): NO CHANGE (6): NO CHANGE ... (37): NO CHANGE\n        ans+=1 # (7): ans=1 (12): ans=2 ... (31): ans=5\nprint(ans)"
]  | 
	[
  true
]  | 
	 a=int(input())
 b=list(map(int,input().split()))
 ans=0
 for i in range(a):
-    if i%2==1 and b[i]%2==1:
+    if (i+1)%2==1 and b[i]%2==1:
         ans+=1
 print(ans)
 
 | 
	 a=int(input())
 b=list(map(int,input().split()))
 ans=0
 for i in range(a):
-    if i%2==1 and b[i]%2==1:
         ans+=1
 print(ans)
 
 | 1 
							 | 1 
							 | 7 
							 | 
					
	u925593325 
 | 
	p02607 
 | 
	s557346890 
 | 
	s619383891 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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)
 
 | 
	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)
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594529377 
 | 
	1594529498 
 | 
	0.9703207984201353 
 | 
	[
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0
]  | 1 
							 | 102 
							 | 
	15
1 5 109 15 87 98 29 39 0 60 44 11 6 14 19
 
 | 
	1
 
 | 
	5
 
 | 
	[
  "N = int(input()) # (0): N=15\na = list(map(int, input().split())) # (1): a=[1, 5, 109, 15, 87, 98, 29, 39, 0, 60, 44, 11, 6, 14, 19]\ncount = 0 # (2): count=0\nfor i, a in enumerate(a): # (3): a=1, i=0 (7): a=5, i=1 ... (35): NO CHANGE\n    if i+1 % 2 == 1: # (4): NO CHANGE (8): NO CHANGE ... (34): NO CHANGE\n        if a % 2 == 1: # (5): NO CHANGE\n            count += 1 # (6): count=1\nprint(count)\n"
]  | 
	[
  true
]  | 
	 N = int(input())
 a = list(map(int, input().split()))
 count = 0
 for i, a in enumerate(a):
-    if i+1 % 2 == 1:
+    if (i+1) % 2 == 1:
         if a % 2 == 1:
             count += 1
 print(count)
 
 
 | 
	 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)
 
 
 | 1 
							 | 1 
							 | 9 
							 | 
					
	u112007848 
 | 
	p02607 
 | 
	s013468122 
 | 
	s737983819 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	n = (int)(input())
a=list(map(int, input().split(" ")))
count = 0
for i in range(0, n, 2):
  if a[i] % 2 == 1:
    
    count += 1
print(count) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516180 
 | 
	1594516285 
 | 
	0.9823610456991699 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 5 46 15 50 98 93 87 31 43 44 11 6 24 14
 
 | 
	5
 
 | 
	3
 
 | 
	[
  "n = (int)(input()) # (0): n=15\na=list(map(int, input().split(\" \"))) # (1): a=[15, 5, 46, 15, 50, 98, 93, 87, 31, 43, 44, 11, 6, 24, 14]\ncount = 0 # (2): count=0\n\nfor i in range(1, n, 2): # (3): i=1 (6): i=3 ... (22): NO CHANGE\n  if a[i] % 2 == 1: # (4): NO CHANGE (7): NO CHANGE ... (21): NO CHANGE\n    \n    count += 1 # (5): count=1 (8): count=2 ... (19): count=5\nprint(count)"
]  | 
	[
  true
]  | 
	 n = (int)(input())
 a=list(map(int, input().split(" ")))
 count = 0
 
-for i in range(1, n, 2):
+for i in range(0, n, 2):
   if a[i] % 2 == 1:
     
     count += 1
 print(count)
 
 | 
	 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)
 
 | 1 
							 | 1 
							 | 9 
							 | 
					
	u122618450 
 | 
	p02607 
 | 
	s284954774 
 | 
	s075070720 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n=int(input())
li=list(map(int,input().split()))
a=0
for i in range(len(li)):
    if i %2!=0:
        if li[i]%2!=0:
            a+=1
print(a) 
 | 
	n=int(input())
li=list(map(int,input().split()))
a=0
for i in range(len(li)):
    if (i+1)%2!=0:
        if li[i]%2!=0:
            a+=1
print(a) 
 | 
	PyPy3 (7.3.0) 
 | 
	PyPy3 (7.3.0) 
 | 
	1594516856 
 | 
	1594517051 
 | 
	0.9563057287015048 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 11 46 15 50 98 93 87 31 43 44 11 6 24 14
 
 | 
	5
 
 | 
	3
 
 | 
	[
  "n=int(input()) # (0): n=15\nli=list(map(int,input().split())) # (1): li=[15, 11, 46, 15, 50, 98, 93, 87, 31, 43, 44, 11, 6, 24, 14]\na=0 # (2): a=0\nfor i in range(len(li)): # (3): i=0 (5): i=1 ... (45): NO CHANGE\n    if i %2!=0: # (4): NO CHANGE (6): NO CHANGE ... (44): NO CHANGE\n        if li[i]%2!=0: # (7): NO CHANGE (13): NO CHANGE ... (42): NO CHANGE\n            a+=1 # (8): a=1 (14): a=2 ... (37): a=5\nprint(a)"
]  | 
	[
  true
]  | 
	 n=int(input())
 li=list(map(int,input().split()))
 a=0
 for i in range(len(li)):
-    if i %2!=0:
+    if (i+1)%2!=0:
         if li[i]%2!=0:
             a+=1
 print(a)
 
 | 
	 n=int(input())
 li=list(map(int,input().split()))
 a=0
 for i in range(len(li)):
-    if i %2!=0:
         if li[i]%2!=0:
             a+=1
 print(a)
 
 | 1 
							 | 1 
							 | 8 
							 | 
					
	u601736910 
 | 
	p02607 
 | 
	s058498458 
 | 
	s620826958 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	n = int(input())
a = list(map(int, input().split()))
output = 0
for i in range(n):
    if (a[i] % 2 == 1) and ((i+1) % 2 == 1):
        output = output + 1
        
print(output) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594678055 
 | 
	1594678609 
 | 
	0.9746230274983455 
 | 
	[
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0
]  | 1 
							 | 102 
							 | 
	15
1 3 111 15 000 98 7 78 1 60 9 13 12 13 54
 
 | 
	1
 
 | 
	5
 
 | 
	[
  "n = int(input()) # (0): n=15\na = list(map(int, input().split())) # (1): a=[1, 3, 111, 15, 0, 98, 7, 78, 1, 60, 9, 13, 12, 13, 54]\noutput = 0 # (2): output=0\n\n\nfor i in range(n): # (3): i=0 (6): i=1 ... (34): NO CHANGE\n    if (i+1 % 2 == 1) and (a[i] % 2 == 1): # (4): NO CHANGE (7): NO CHANGE ... (33): NO CHANGE\n        output = output + 1 # (5): output=1\n        \nprint(output)"
]  | 
	[
  true
]  | 
	 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):
+    if (a[i] % 2 == 1) and ((i+1) % 2 == 1):
         output = output + 1
         
 print(output)
 
 | 
	 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)
 
 | 1 
							 | 1 
							 | 10 
							 | 
					
	u811612390 
 | 
	p02607 
 | 
	s830500285 
 | 
	s821600868 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	def main():
    N = int(input())
    a = list(map(int,input().split()))
    res = 0
    for i in range(N):
        if i % 2 == 1 and a[i] % 2 == 1:
            res += 1
    print(res)
if __name__ == "__main__":
    main() 
 | 
	def main():
    N = int(input())
    a = list(map(int,input().split()))
    res = 0
    for i in range(N):
        if (i+1) % 2 == 1 and a[i] % 2 == 1:
            res += 1
    print(res)
if __name__ == "__main__":
    main()
 
 | 
	PyPy3 (7.3.0) 
 | 
	PyPy3 (7.3.0) 
 | 
	1594515770 
 | 
	1594516519 
 | 
	0.9679357528734601 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 5 71 15 50 98 135 87 0 43 44 11 6 14 19
 
 | 
	5
 
 | 
	4
 
 | 
	[
  "def main(): # (0): main=<function main>\n    N = int(input())\n    a = list(map(int,input().split()))\n\n    res = 0\n    for i in range(N):\n        if i % 2 == 1 and a[i] % 2 == 1:\n            res += 1\n    print(res)\n\nif __name__ == \"__main__\":\n    main()"
]  | 
	[
  true
]  | 
	 def main():
     N = int(input())
     a = list(map(int,input().split()))
 
     res = 0
     for i in range(N):
-        if i % 2 == 1 and a[i] % 2 == 1:
+        if (i+1) % 2 == 1 and a[i] % 2 == 1:
             res += 1
     print(res)
 
 if __name__ == "__main__":
     main()
+
 
 | 
	 def main():
     N = int(input())
     a = list(map(int,input().split()))
 
     res = 0
     for i in range(N):
-        if i % 2 == 1 and a[i] % 2 == 1:
             res += 1
     print(res)
 
 if __name__ == "__main__":
     main()
 
 | 2 
							 | 1 
							 | 12 
							 | 
					
	u888337853 
 | 
	p02607 
 | 
	s569440229 
 | 
	s628894608 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	import sys
import math
import collections
import bisect
import itertools
import fractions
import copy
import decimal
import queue
sys.setrecursionlimit(10000001)
INF = 10 ** 16
MOD = 10 ** 9 + 7
ni = lambda: int(sys.stdin.readline())
ns = lambda: map(int, sys.stdin.readline().split())
na = lambda: list(map(int, sys.stdin.readline().split()))
def main():
    n = ni()
    a = na()
    ans = 0
    for i, ai in enumerate(a):
        if i % 2 and ai % 2:
            ans += 1
    print(ans)
if __name__ == '__main__':
    main()
 
 | 
	import sys
import math
import collections
import bisect
import itertools
import fractions
import copy
import decimal
import queue
sys.setrecursionlimit(10000001)
INF = 10 ** 16
MOD = 10 ** 9 + 7
ni = lambda: int(sys.stdin.readline())
ns = lambda: map(int, sys.stdin.readline().split())
na = lambda: list(map(int, sys.stdin.readline().split()))
def main():
    n = ni()
    a = na()
    ans = 0
    for i, ai in enumerate(a):
        if (i+1) % 2 and ai % 2:
            ans += 1
    print(ans)
if __name__ == '__main__':
    main()
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515765 
 | 
	1594515799 
 | 
	0.9885752609988 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 11 46 15 50 98 93 129 31 43 44 11 6 24 14
 
 | 
	5
 
 | 
	3
 
 | 
	[
  "import sys\n\nimport math\nimport collections\n\nimport bisect\nimport itertools\nimport fractions\n\nimport copy\n\nimport decimal\n\nimport queue\n\n\n\nsys.setrecursionlimit(10000001) # (0): NO CHANGE\nINF = 10 ** 16 # (1): INF=10000000000000000\nMOD = 10 ** 9 + 7 # (2): MOD=1000000007\n\n\nni = lambda: int(sys.stdin.readline()) # (3): ni=<function <lambda> at 0x000002127C7D9B40>\nns = lambda: map(int, sys.stdin.readline().split()) # (4): ns=<function <lambda> at 0x000002127C7DBEB0>\nna = lambda: list(map(int, sys.stdin.readline().split())) # (5): na=<function <lambda> at 0x000002127C929360>\n\n\n\n\n\ndef main(): # (6): main=<function main>\n    n = ni()\n    a = na()\n\n    ans = 0\n    for i, ai in enumerate(a):\n        if i % 2 and ai % 2:\n            ans += 1\n    print(ans)\n\nif __name__ == '__main__':\n    main()\n"
]  | 
	[
  true
]  | 
	 import sys
 
 import math
 import collections
 
 import bisect
 import itertools
 import fractions
 
 import copy
 
 import decimal
 
 import queue
 
 
 
 sys.setrecursionlimit(10000001)
 INF = 10 ** 16
 MOD = 10 ** 9 + 7
 
 
 ni = lambda: int(sys.stdin.readline())
 ns = lambda: map(int, sys.stdin.readline().split())
 na = lambda: list(map(int, sys.stdin.readline().split()))
 
 
 
 
 
 def main():
     n = ni()
     a = na()
 
     ans = 0
     for i, ai in enumerate(a):
-        if i % 2 and ai % 2:
+        if (i+1) % 2 and ai % 2:
             ans += 1
     print(ans)
 
 if __name__ == '__main__':
     main()
 
 
 | 
	 import sys
 
 import math
 import collections
 
 import bisect
 import itertools
 import fractions
 
 import copy
 
 import decimal
 
 import queue
 
 
 
 sys.setrecursionlimit(10000001)
 INF = 10 ** 16
 MOD = 10 ** 9 + 7
 
 
 ni = lambda: int(sys.stdin.readline())
 ns = lambda: map(int, sys.stdin.readline().split())
 na = lambda: list(map(int, sys.stdin.readline().split()))
 
 
 
 
 
 def main():
     n = ni()
     a = na()
 
     ans = 0
     for i, ai in enumerate(a):
-        if i % 2 and ai % 2:
             ans += 1
     print(ans)
 
 if __name__ == '__main__':
     main()
 
 
 | 1 
							 | 1 
							 | 43 
							 | 
					
	u248418051 
 | 
	p02607 
 | 
	s857371814 
 | 
	s612499861 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	try:
  n=int(input())
  arr=[int(i) for i in input().split()]
  ans=0
  for i in range(1,n,2):
    if arr[i]%2!=0:
      ans+=1
  print(ans)
except:
  pass 
 | 
	try:
  n=int(input())
  arr=[int(i) for i in input().split()]
  ans=0
  for i in range(0,n,2):
    if arr[i]%2!=0:
      ans+=1
  print(ans)
except:
  pass 
 | 
	PyPy3 (7.3.0) 
 | 
	PyPy3 (7.3.0) 
 | 
	1594517090 
 | 
	1594517143 
 | 
	0.983631575077218 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 5 109 15 87 98 135 161 0 60 44 11 6 14 19
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "try: # (0): NO CHANGE\n  n=int(input()) # (1): n=15\n  arr=[int(i) for i in input().split()] # (2): arr=[1, 5, 109, 15, 87, 98, 135, 161, 0, 60, 44, 11, 6, 14, 19]\n  ans=0 # (3): ans=0\n  for i in range(1,n,2): # (4): i=1 (7): i=3 ... (22): NO CHANGE\n    if arr[i]%2!=0: # (5): NO CHANGE (8): NO CHANGE ... (21): NO CHANGE\n      ans+=1 # (6): ans=1 (9): ans=2 ... (19): ans=4\n  print(ans)\nexcept:\n  pass"
]  | 
	[
  true
]  | 
	 try:
   n=int(input())
   arr=[int(i) for i in input().split()]
   ans=0
-  for i in range(1,n,2):
+  for i in range(0,n,2):
     if arr[i]%2!=0:
       ans+=1
   print(ans)
 except:
   pass
 
 | 
	 try:
   n=int(input())
   arr=[int(i) for i in input().split()]
   ans=0
-  for i in range(1,n,2):
     if arr[i]%2!=0:
       ans+=1
   print(ans)
 except:
   pass
 
 | 1 
							 | 1 
							 | 10 
							 | 
					
	u260068288 
 | 
	p02607 
 | 
	s623625321 
 | 
	s499094955 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	n= int(input())
l=list(map(int,input().split()))
count = 0
for i in range(0,n,2):
    if l[i]&1:
        count += 1
print(count) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1595280311 
 | 
	1595280494 
 | 
	0.8688150562628432 
 | 
	[
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0
]  | 0 
							 | 102 
							 | 
	15
15 5 71 15 87 98 135 87 0 60 44 17 6 14 19
 
 | 
	1
1
1
1
0
0
0
1
5
 
 | 
	5
 
 | 
	[
  "n= int(input()) # (0): n=15\nl=list(map(int,input().split())) # (1): l=[15, 5, 71, 15, 87, 98, 135, 87, 0, 60, 44, 17, 6, 14, 19]\ncount = 0 # (2): count=0\nfor i in range(0,n,2): # (3): i=0 (7): i=2 ... (32): NO CHANGE\n    print(l[i]&1) # (4): NO CHANGE (8): NO CHANGE ... (29): NO CHANGE\n    if l[i]&1: # (5): NO CHANGE (9): NO CHANGE ... (30): NO CHANGE\n        count += 1 # (6): count=1 (10): count=2 ... (31): count=5\nprint(count)"
]  | 
	[
  true
]  | 
	 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)
 
 | 
	 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)
 
 | 0 
							 | 1 
							 | 8 
							 | 
					
	u516483179 
 | 
	p02607 
 | 
	s155812823 
 | 
	s291143481 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	a = int(input())
n = list(map(int,input().split()))
cnt  = 1
ans = 0
for i in n:
    cnt = cnt +1
    if cnt % 2 == 1 and i % 2 == 1 :
        ans = ans + 1 
print (ans) 
 | 
	a = int(input())
n = list(map(int,input().split()))
cnt  = 0
ans = 0
for i in n:
    cnt = cnt +1
    if cnt % 2 == 1 and i % 2 == 1 :
        ans = ans + 1 
print (ans)
 
 | 
	PyPy3 (7.3.0) 
 | 
	PyPy3 (7.3.0) 
 | 
	1594516401 
 | 
	1594516559 
 | 
	0.9791601121014963 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 5 71 15 50 98 93 87 0 43 44 11 6 24 14
 
 | 
	5
 
 | 
	3
 
 | 
	[
  "a = int(input()) # (0): a=15\nn = list(map(int,input().split())) # (1): n=[15, 5, 71, 15, 50, 98, 93, 87, 0, 43, 44, 11, 6, 24, 14]\ncnt  = 1 # (2): cnt=1\nans = 0 # (3): ans=0\nfor i in n: # (4): i=15 (7): i=5 ... (54): NO CHANGE\n    cnt = cnt +1 # (5): cnt=2 (8): cnt=3 ... (52): cnt=16\n    if cnt % 2 == 1 and i % 2 == 1 : # (6): NO CHANGE (9): NO CHANGE ... (53): NO CHANGE\n        ans = ans + 1  # (10): ans=1 (17): ans=2 ... (44): ans=5\nprint (ans)"
]  | 
	[
  true
]  | 
	 a = int(input())
 n = list(map(int,input().split()))
-cnt  = 1
+cnt  = 0
 ans = 0
 for i in n:
     cnt = cnt +1
     if cnt % 2 == 1 and i % 2 == 1 :
         ans = ans + 1 
 print (ans)
+
 
 | 
	 a = int(input())
 n = list(map(int,input().split()))
-cnt  = 1
 ans = 0
 for i in n:
     cnt = cnt +1
     if cnt % 2 == 1 and i % 2 == 1 :
         ans = ans + 1 
 print (ans)
 
 | 2 
							 | 1 
							 | 9 
							 | 
					
	u671211357 
 | 
	p02607 
 | 
	s526954152 
 | 
	s261673260 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N=int(input())
count=0
A=list(map(int,input().split()))
for i in range(N):
    if i%2==1 and A[i]%2==1:
        count+=1
print(count) 
 | 
	N=int(input())
count=0
A=list(map(int,input().split()))
for i in range(N):
    if (i+1)%2==1 and A[i]%2==1:
        count+=1
print(count) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515729 
 | 
	1594515786 
 | 
	0.9537166539371016 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 55 15 77 98 28 78 1 60 9 11 9 13 32
 
 | 
	4
 
 | 
	6
 
 | 
	[
  "N=int(input()) # (0): N=15\ncount=0 # (1): count=0\nA=list(map(int,input().split())) # (2): A=[1, 3, 55, 15, 77, 98, 28, 78, 1, 60, 9, 11, 9, 13, 32]\nfor i in range(N): # (3): i=0 (5): i=1 ... (37): NO CHANGE\n    if i%2==1 and A[i]%2==1: # (4): NO CHANGE (6): NO CHANGE ... (36): NO CHANGE\n        count+=1 # (7): count=1 (12): count=2 ... (34): count=4\nprint(count)"
]  | 
	[
  true
]  | 
	 N=int(input())
 count=0
 A=list(map(int,input().split()))
 for i in range(N):
-    if i%2==1 and A[i]%2==1:
+    if (i+1)%2==1 and A[i]%2==1:
         count+=1
 print(count)
 
 | 
	 N=int(input())
 count=0
 A=list(map(int,input().split()))
 for i in range(N):
-    if i%2==1 and A[i]%2==1:
         count+=1
 print(count)
 
 | 1 
							 | 1 
							 | 7 
							 | 
					
	u583507988 
 | 
	p02607 
 | 
	s604015741 
 | 
	s599733271 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
a = list(map(int, input().split()))
ans = 0
for i in range(n):
  if i%2==1 and (a[i]+1)%2==1:
    ans += 1
    
print(ans) 
 | 
	n = int(input())
a = list(map(int, input().split()))
ans = 0
for i in range(n):
  if (i+1)%2==1 and a[i]%2==1:
    ans += 1
    
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515942 
 | 
	1594515980 
 | 
	0.9577635458736867 
 | 
	[
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  1,
  0,
  0,
  0,
  0
]  | 11 
							 | 102 
							 | 
	15
13 76 46 15 50 98 93 77 31 12 44 90 6 24 14
 
 | 
	5
 
 | 
	3
 
 | 
	[
  "n = int(input()) # (0): n=15\na = list(map(int, input().split())) # (1): a=[13, 76, 46, 15, 50, 98, 93, 77, 31, 12, 44, 90, 6, 24, 14]\n\nans = 0 # (2): ans=0\nfor i in range(n): # (3): i=0 (5): i=1 ... (38): NO CHANGE\n  if i%2==1 and (a[i]+1)%2==1: # (4): NO CHANGE (6): NO CHANGE ... (37): NO CHANGE\n    ans += 1 # (7): ans=1 (16): ans=2 ... (35): ans=5\n    \nprint(ans)"
]  | 
	[
  true
]  | 
	 n = int(input())
 a = list(map(int, input().split()))
 
 ans = 0
 for i in range(n):
-  if i%2==1 and (a[i]+1)%2==1:
+  if (i+1)%2==1 and a[i]%2==1:
     ans += 1
     
 print(ans)
 
 | 
	 n = int(input())
 a = list(map(int, input().split()))
 
 ans = 0
 for i in range(n):
-  if i%2==1 and (a[i]+1)%2==1:
     ans += 1
     
 print(ans)
 
 | 1 
							 | 1 
							 | 9 
							 | 
					
	u730807152 
 | 
	p02607 
 | 
	s804873407 
 | 
	s475530138 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	n=map(int,input().split())
a=list(map(int,input().split()))
 
N=0
new_a=a[::2]
 
for i in new_a:
    if i%2==0:
        N += 1
 
print(len(new_a)-N) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594596477 
 | 
	1594650047 
 | 
	0.937817456971572 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 55 15 77 98 28 78 1 60 9 13 12 13 54
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "n=map(int,input().split()) # (0): n=<map object at 0x000001CBFFEACDF0>\na=list(map(int,input().split())) # (1): a=[1, 3, 55, 15, 77, 98, 28, 78, 1, 60, 9, 13, 12, 13, 54]\n\nN=0 # (2): N=0\nnew_a=a[1::2] # (3): new_a=[3, 15, 98, 78, 60, 13, 13]\n\nfor i in new_a: # (4): i=3 (6): i=15 ... (21): NO CHANGE\n    if i%2==0: # (5): NO CHANGE (7): NO CHANGE ... (20): NO CHANGE\n        N += 1 # (10): N=1 (13): N=2 (16): N=3\n\nprint(len(new_a)-N)"
]  | 
	[
  true
]  | 
	 n=map(int,input().split())
 a=list(map(int,input().split()))
-
+ 
 N=0
-new_a=a[1::2]
-
+new_a=a[::2]
+ 
 for i in new_a:
     if i%2==0:
         N += 1
-
+ 
 print(len(new_a)-N)
 
 | 
	 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)
 
 | 4 
							 | 4 
							 | 11 
							 | 
					
	u886297662 
 | 
	p02607 
 | 
	s110229353 
 | 
	s800608117 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N = int(input())
a = list(map(int, input().split()))
cnt = 0
for idx, ai in enumerate(a):
  if idx % 2 == 1 and ai % 2 == 1:
    cnt += 1
print(cnt) 
 | 
	N = int(input())
a = list(map(int, input().split()))
cnt = 0
for idx, ai in enumerate(a):
  if (idx+1) % 2 == 1 and ai % 2 == 1:
    cnt += 1
print(cnt) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515944 
 | 
	1594516023 
 | 
	0.9538704125522164 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
13 76 46 15 50 98 93 77 31 12 44 90 6 24 14
 
 | 
	2
 
 | 
	3
 
 | 
	[
  "N = int(input()) # (0): N=15\na = list(map(int, input().split())) # (1): a=[13, 76, 46, 15, 50, 98, 93, 77, 31, 12, 44, 90, 6, 24, 14]\n\ncnt = 0 # (2): cnt=0\nfor idx, ai in enumerate(a): # (3): idx=0, ai=13 (5): idx=1, ai=76 ... (35): NO CHANGE\n  if idx % 2 == 1 and ai % 2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (34): NO CHANGE\n    cnt += 1 # (11): cnt=1 (20): cnt=2\n\nprint(cnt)"
]  | 
	[
  true
]  | 
	 N = int(input())
 a = list(map(int, input().split()))
 
 cnt = 0
 for idx, ai in enumerate(a):
-  if idx % 2 == 1 and ai % 2 == 1:
+  if (idx+1) % 2 == 1 and ai % 2 == 1:
     cnt += 1
 
 print(cnt)
 
 | 
	 N = int(input())
 a = list(map(int, input().split()))
 
 cnt = 0
 for idx, ai in enumerate(a):
-  if idx % 2 == 1 and ai % 2 == 1:
     cnt += 1
 
 print(cnt)
 
 | 1 
							 | 1 
							 | 9 
							 | 
					
	u995323427 
 | 
	p02607 
 | 
	s554072572 
 | 
	s399671469 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N = int(input())
a = list(map(int, input().split()))
count = 0
for i in range(N):
    if ((a[i] % 2 == 1) and i % 2 == 1):
        count += 1
print(count) 
 | 
	N = int(input())
a = list(map(int, input().split()))
count = 0
for i in range(1, N+1):
    if ((a[i - 1] % 2 == 1) and i % 2 == 1):
        count += 1
print(count) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515826 
 | 
	1594519058 
 | 
	0.9222401980906689 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	5
0 5 2 5 7
 
 | 
	2
 
 | 
	1
 
 | 
	[
  "N = int(input()) # (0): N=5\na = list(map(int, input().split())) # (1): a=[0, 5, 2, 5, 7]\n\ncount = 0 # (2): count=0\n\nfor i in range(N): # (3): i=0 (5): i=1 ... (15): NO CHANGE\n    if ((a[i] % 2 == 1) and i % 2 == 1): # (4): NO CHANGE (6): NO CHANGE ... (14): NO CHANGE\n        count += 1 # (7): count=1 (12): count=2\n\nprint(count)"
]  | 
	[
  true
]  | 
	 N = int(input())
 a = list(map(int, input().split()))
 
 count = 0
 
-for i in range(N):
-    if ((a[i] % 2 == 1) and i % 2 == 1):
+for i in range(1, N+1):
+    if ((a[i - 1] % 2 == 1) and i % 2 == 1):
         count += 1
 
 print(count)
 
 | 
	 N = int(input())
 a = list(map(int, input().split()))
 
 count = 0
 
-for i in range(N):
-    if ((a[i] % 2 == 1) and i % 2 == 1):
         count += 1
 
 print(count)
 
 | 2 
							 | 2 
							 | 10 
							 | 
					
	u763968347 
 | 
	p02607 
 | 
	s868389632 
 | 
	s691657870 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N = int(input())
a = list(map(int,input().split()))
res = 0
for i in range(N):
    if i%2 == 1 and a[i]%2  == 1:
        res += 1
print(res) 
 | 
	N = int(input())
a = list(map(int,input().split()))
res = 0
for i in range(N):
    if i%2 == 0 and a[i]%2  == 1:
        res += 1
print(res) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515973 
 | 
	1594516049 
 | 
	0.9821085431604635 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 10 109 15 87 98 29 161 0 60 44 11 9 26 19
 
 | 
	3
 
 | 
	6
 
 | 
	[
  "N = int(input()) # (0): N=15\na = list(map(int,input().split())) # (1): a=[1, 10, 109, 15, 87, 98, 29, 161, 0, 60, 44, 11, 9, 26, 19]\n\nres = 0 # (2): res=0\nfor i in range(N): # (3): i=0 (5): i=1 ... (36): NO CHANGE\n    if i%2 == 1 and a[i]%2  == 1: # (4): NO CHANGE (6): NO CHANGE ... (35): NO CHANGE\n        res += 1 # (11): res=1 (20): res=2 (29): res=3\n\nprint(res)"
]  | 
	[
  true
]  | 
	 N = int(input())
 a = list(map(int,input().split()))
 
 res = 0
 for i in range(N):
-    if i%2 == 1 and a[i]%2  == 1:
+    if i%2 == 0 and a[i]%2  == 1:
         res += 1
 
 print(res)
 
 | 
	 N = int(input())
 a = list(map(int,input().split()))
 
 res = 0
 for i in range(N):
-    if i%2 == 1 and a[i]%2  == 1:
         res += 1
 
 print(res)
 
 | 1 
							 | 1 
							 | 9 
							 | 
					
	u273339216 
 | 
	p02607 
 | 
	s620983566 
 | 
	s660856495 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
a = list(map(int, input().split()))
odd_lst=a[1::2]
count=0
for i in odd_lst:
  if i%2 != 0:
    count+=1
print(count)
 
 | 
	n = int(input())
a = list(map(int, input().split()))
odd_lst=a[0::2]
count=0
for i in odd_lst:
  if i%2 != 0:
    count+=1
print(count)
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594517869 
 | 
	1594517941 
 | 
	0.9814444805292856 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 111 15 000 98 7 78 1 60 15 13 12 13 54
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "n = int(input()) # (0): n=15\na = list(map(int, input().split())) # (1): a=[1, 3, 111, 15, 0, 98, 7, 78, 1, 60, 15, 13, 12, 13, 54]\nodd_lst=a[1::2] # (2): odd_lst=[3, 15, 98, 78, 60, 13, 13]\ncount=0 # (3): count=0\nfor i in odd_lst: # (4): i=3 (7): i=15 ... (22): NO CHANGE\n  if i%2 != 0: # (5): NO CHANGE (8): NO CHANGE ... (20): NO CHANGE\n    count+=1 # (6): count=1 (9): count=2 ... (21): count=4\nprint(count)\n\n"
]  | 
	[
  true
]  | 
	 n = int(input())
 a = list(map(int, input().split()))
-odd_lst=a[1::2]
+odd_lst=a[0::2]
 count=0
 for i in odd_lst:
   if i%2 != 0:
     count+=1
 print(count)
 
 
 
 | 
	 n = int(input())
 a = list(map(int, input().split()))
-odd_lst=a[1::2]
 count=0
 for i in odd_lst:
   if i%2 != 0:
     count+=1
 print(count)
 
 
 
 | 1 
							 | 1 
							 | 10 
							 | 
					
	u421693050 
 | 
	p02607 
 | 
	s423286495 
 | 
	s347126358 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
a = list(map(int, input().split()))
count = 0
for x in range(0, len(a)):
    if x % 2 == 1 and a[x] % 2 == 1:
        count += 1
print(count) 
 | 
	n = int(input())
a = list(map(int, input().split()))
count = 0
for x in range(0, len(a)):
    if (x + 1) % 2 == 1 and a[x] % 2 == 1:
        count += 1
print(count) 
 | 
	PyPy3 (7.3.0) 
 | 
	PyPy3 (7.3.0) 
 | 
	1594516093 
 | 
	1594516247 
 | 
	0.9509499689235221 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 5 71 15 87 98 135 87 0 60 44 17 6 14 19
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "n = int(input()) # (0): n=15\na = list(map(int, input().split())) # (1): a=[15, 5, 71, 15, 87, 98, 135, 87, 0, 60, 44, 17, 6, 14, 19]\ncount = 0 # (2): count=0\n\nfor x in range(0, len(a)): # (3): x=0 (5): x=1 ... (37): NO CHANGE\n    if x % 2 == 1 and a[x] % 2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (36): NO CHANGE\n        count += 1 # (7): count=1 (12): count=2 ... (30): count=4\nprint(count)"
]  | 
	[
  true
]  | 
	 n = int(input())
 a = list(map(int, input().split()))
 count = 0
 
 for x in range(0, len(a)):
-    if x % 2 == 1 and a[x] % 2 == 1:
+    if (x + 1) % 2 == 1 and a[x] % 2 == 1:
         count += 1
 print(count)
 
 | 
	 n = int(input())
 a = list(map(int, input().split()))
 count = 0
 
 for x in range(0, len(a)):
-    if x % 2 == 1 and a[x] % 2 == 1:
         count += 1
 print(count)
 
 | 1 
							 | 1 
							 | 8 
							 | 
					
	u370769986 
 | 
	p02607 
 | 
	s220288315 
 | 
	s034346881 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	n = int(input())
a = list(map(int, input().split()))
ans=0
for i in range(n):
    if (i+1)%2==1 and a[i]%2==1:
        ans+=1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516120 
 | 
	1594516218 
 | 
	0.8913827681209853 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 55 15 77 98 28 78 1 60 9 13 12 13 32
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "n = int(input()) # (0): n=15\na = list(map(int, input().split())) # (1): a=[1, 3, 55, 15, 77, 98, 28, 78, 1, 60, 9, 13, 12, 13, 32]\nans=0 # (2): ans=0\nfor i in range(n): # (3): i=0 (5): i=1 ... (37): NO CHANGE\n    if i%2!=0 and a[i]%2!=0: # (4): NO CHANGE (6): NO CHANGE ... (36): NO CHANGE\n        ans+=1 # (7): ans=1 (12): ans=2 ... (34): ans=4\nprint(ans)"
]  | 
	[
  true
]  | 
	 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:
+    if (i+1)%2==1 and a[i]%2==1:
         ans+=1
 print(ans)
 
 | 
	 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)
 
 | 1 
							 | 1 
							 | 7 
							 | 
					
	u630554891 
 | 
	p02607 
 | 
	s044361288 
 | 
	s151337056 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	n=int(input())
a=list(map(int, input().split())) 
ans = 0
for i in range(1,n+1):
    if i % 2 == 1 and a[i-1] % 2 == 1:
        
        ans += 1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515896 
 | 
	1594516014 
 | 
	0.8798975081546287 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 11 46 15 50 98 93 129 31 43 44 11 6 24 14
 
 | 
	5
 
 | 
	3
 
 | 
	[
  "n=int(input()) # (0): n=15\na=list(map(int, input().split()))  # (1): a=[15, 11, 46, 15, 50, 98, 93, 129, 31, 43, 44, 11, 6, 24, 14]\nans = 0 # (2): ans=0\n\nfor i in range(n): # (3): i=0 (5): i=1 ... (38): NO CHANGE\n    if i % 2 == 1 and a[i] % 2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (37): NO CHANGE\n        ans += 1 # (7): ans=1 (12): ans=2 ... (31): ans=5\n\nprint(ans)"
]  | 
	[
  true
]  | 
	 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:
+for i in range(1,n+1):
+    if i % 2 == 1 and a[i-1] % 2 == 1:
+        
         ans += 1
 
 print(ans)
 
 | 
	 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)
 
 | 3 
							 | 2 
							 | 9 
							 | 
					
	u126977215 
 | 
	p02607 
 | 
	s515619247 
 | 
	s233134344 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N = int(input())
a = [int(i) for i in input().split()]
h = 0
for s in range(N) :
  if s % 2 == 1:
    if a[s] % 2 == 1:
      h += 1
print(h) 
 | 
	N = int(input())
a = [int(i) for i in input().split()]
b = a[0::2]
c = (N 
h = 0
for s in range(c) :
   if b[s] % 2 == 1:
      h += 1
print(h) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594518857 
 | 
	1594519615 
 | 
	0.8476546268791918 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 109 15 77 98 29 78 1 60 9 11 9 14 32
 
 | 
	3
 
 | 
	7
 
 | 
	[
  "N = int(input()) # (0): N=15\na = [int(i) for i in input().split()] # (1): a=[1, 3, 109, 15, 77, 98, 29, 78, 1, 60, 9, 11, 9, 14, 32]\nh = 0 # (2): h=0\nfor s in range(N) : # (3): s=0 (5): s=1 ... (43): NO CHANGE\n  if s % 2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (42): NO CHANGE\n    if a[s] % 2 == 1: # (7): NO CHANGE (13): NO CHANGE ... (40): NO CHANGE\n      h += 1 # (8): h=1 (14): h=2 (35): h=3\nprint(h)"
]  | 
	[
  true
]  | 
	 N = int(input())
 a = [int(i) for i in input().split()]
+b = a[0::2]
+c = (N 
 h = 0
-for s in range(N) :
-  if s % 2 == 1:
-    if a[s] % 2 == 1:
+for s in range(c) :
+   if b[s] % 2 == 1:
       h += 1
 print(h)
 
 | 
	 N = int(input())
 a = [int(i) for i in input().split()]
 h = 0
-for s in range(N) :
-  if s % 2 == 1:
-    if a[s] % 2 == 1:
       h += 1
 print(h)
 
 | 4 
							 | 3 
							 | 8 
							 | 
					
	u757117214 
 | 
	p02607 
 | 
	s674968558 
 | 
	s689174301 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N,*a = map(int,open(0).read().split())
cnt = 0
for i in a[1::2]:
    if i % 2 != 0:
        cnt += 1
print(cnt)  
 | 
	N,*a = map(int,open(0).read().split())
cnt = 0
for i in a[::2]:
    if i % 2 != 0:
        cnt += 1
print(cnt)  
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594563213 
 | 
	1594563435 
 | 
	0.9772970686458561 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
13 76 46 15 50 70 93 77 31 12 44 90 6 24 14
 
 | 
	2
 
 | 
	3
 
 | 
	[
  "注释代码执行超时"
]  | 
	[
  false
]  | 
	 N,*a = map(int,open(0).read().split())
 cnt = 0
-for i in a[1::2]:
+for i in a[::2]:
     if i % 2 != 0:
         cnt += 1
 print(cnt) 
 
 | 
	 N,*a = map(int,open(0).read().split())
 cnt = 0
-for i in a[1::2]:
     if i % 2 != 0:
         cnt += 1
 print(cnt) 
 
 | 1 
							 | 1 
							 | 6 
							 | 
					
	u077141270 
 | 
	p02607 
 | 
	s364735268 
 | 
	s868804628 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	import sys
input = sys.stdin.readline
N = int(input())
a = [int(x) for x in input().split()]
count = 0
for i in range(N):
    if i%2 == 1 and a[i]%2 == 1:
        count += 1
print(count)
 
 | 
	import sys
input = sys.stdin.readline
N = int(input())
a = [int(x) for x in input().split()]
count = 0
for i in range(N):
    if (i+1)%2 == 1 and a[i]%2 == 1:
        count += 1
print(count)
 
 | 
	PyPy3 (7.3.0) 
 | 
	PyPy3 (7.3.0) 
 | 
	1594515787 
 | 
	1594515844 
 | 
	0.9677911838054555 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 5 71 15 50 98 135 87 0 43 44 11 6 24 11
 
 | 
	5
 
 | 
	4
 
 | 
	[
  "import sys\ninput = sys.stdin.readline # (0): input=<built-in method readline of _io.TextIOWrapper object at 0x000001CC59CB6190>\n\n\n\nN = int(input()) # (1): N=15\na = [int(x) for x in input().split()] # (2): a=[15, 5, 71, 15, 50, 98, 135, 87, 0, 43, 44, 11, 6, 24, 11]\n\ncount = 0 # (3): count=0\n\nfor i in range(N): # (4): i=0 (6): i=1 ... (39): NO CHANGE\n    if i%2 == 1 and a[i]%2 == 1: # (5): NO CHANGE (7): NO CHANGE ... (38): NO CHANGE\n        count += 1 # (8): count=1 (13): count=2 ... (32): count=5\nprint(count)\n"
]  | 
	[
  true
]  | 
	 import sys
 input = sys.stdin.readline
 
 
 
 N = int(input())
 a = [int(x) for x in input().split()]
 
 count = 0
 
 for i in range(N):
-    if i%2 == 1 and a[i]%2 == 1:
+    if (i+1)%2 == 1 and a[i]%2 == 1:
         count += 1
 print(count)
 
 
 | 
	 import sys
 input = sys.stdin.readline
 
 
 
 N = int(input())
 a = [int(x) for x in input().split()]
 
 count = 0
 
 for i in range(N):
-    if i%2 == 1 and a[i]%2 == 1:
         count += 1
 print(count)
 
 
 | 1 
							 | 1 
							 | 15 
							 | 
					
	u247211039 
 | 
	p02607 
 | 
	s969679967 
 | 
	s961015460 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N=int(input())
a=list(map(int,input().split()))
 
ans=0
for i in range(0,N,2):
    print(a[i])
    if a[i]%2!=0:
        ans+=1
        
print(ans) 
 | 
	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) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516220 
 | 
	1594516251 
 | 
	0.8850267534181063 
 | 
	[
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0
]  | 0 
							 | 102 
							 | 
	15
1 3 55 15 77 98 28 78 1 60 9 13 12 13 32
 
 | 
	1
55
77
28
1
9
12
32
5
 
 | 
	5
 
 | 
	[
  "N=int(input()) # (0): N=15\na=list(map(int,input().split())) # (1): a=[1, 3, 55, 15, 77, 98, 28, 78, 1, 60, 9, 13, 12, 13, 32]\n \nans=0 # (2): ans=0\nfor i in range(0,N,2): # (3): i=0 (7): i=2 ... (32): NO CHANGE\n    print(a[i]) # (4): NO CHANGE (8): NO CHANGE ... (30): NO CHANGE\n    if a[i]%2!=0: # (5): NO CHANGE (9): NO CHANGE ... (31): NO CHANGE\n        ans+=1 # (6): ans=1 (10): ans=2 ... (25): ans=5\n        \nprint(ans)"
]  | 
	[
  true
]  | 
	 N=int(input())
 a=list(map(int,input().split()))
  
 ans=0
 for i in range(0,N,2):
-    print(a[i])
     if a[i]%2!=0:
         ans+=1
         
 print(ans)
 
 | 
	 N=int(input())
 a=list(map(int,input().split()))
  
 ans=0
 for i in range(0,N,2):
-    print(a[i])
     if a[i]%2!=0:
         ans+=1
         
 print(ans)
 
 | 0 
							 | 1 
							 | 10 
							 | 
					
	u558115145 
 | 
	p02607 
 | 
	s278150113 
 | 
	s060405194 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	n=int(input())
a=list(map(int,input().split()))
c=0
for i in range(n):
  if i%2==0 and a[i]%2==1: c+=1
print(c) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594919120 
 | 
	1594919140 
 | 
	0.9770064524882032 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	5
0 5 4 5 7
 
 | 
	2
 
 | 
	1
 
 | 
	[
  "n=int(input()) # (0): n=5\na=list(map(int,input().split())) # (1): a=[0, 5, 4, 5, 7]\nc=0 # (2): c=0\nfor i in range(n): # (3): i=0 (5): i=1 ... (13): NO CHANGE\n  if i%2==1 and a[i]%2==1: c+=1 # (4): NO CHANGE (6): c=1 ... (12): NO CHANGE\nprint(c)"
]  | 
	[
  true
]  | 
	 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
+  if i%2==0 and a[i]%2==1: c+=1
 print(c)
 
 | 
	 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)
 
 | 1 
							 | 1 
							 | 6 
							 | 
					
	u855967722 
 | 
	p02607 
 | 
	s071054639 
 | 
	s826868346 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	N = int(input())
A = list(map(int, input().split()))
ans = 0
for i in range(1,N+1):
  if i % 2 != 0 and A[i-1] % 2 != 0:
    ans += 1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516324 
 | 
	1594516636 
 | 
	0.8665404092347864 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 11 46 15 50 98 93 129 41 43 44 11 6 24 14
 
 | 
	5
 
 | 
	3
 
 | 
	[
  "N = int(input()) # (0): N=15\nA = list(map(int, input().split())) # (1): A=[15, 11, 46, 15, 50, 98, 93, 129, 41, 43, 44, 11, 6, 24, 14]\nans = 0 # (2): ans=0\nfor i in range(N): # (3): i=0 (5): i=1 ... (38): NO CHANGE\n  if i % 2 == 1 and A[i] % 2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (37): NO CHANGE\n      ans += 1 # (7): ans=1 (12): ans=2 ... (31): ans=5\nprint(ans)"
]  | 
	[
  true
]  | 
	 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
+for i in range(1,N+1):
+  if i % 2 != 0 and A[i-1] % 2 != 0:
+    ans += 1
 print(ans)
 
 | 
	 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)
 
 | 3 
							 | 3 
							 | 7 
							 | 
					
	u438189153 
 | 
	p02607 
 | 
	s525114612 
 | 
	s015459077 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N=int(input())
table=list(map(int,input().split()))
num=0
for i in range(N-1):
    if i%2==1 and (table[i])%2==1:
        num+=1
print(num)
 
 | 
	N=int(input())
table=list(map(int,input().split()))
num=0
for i in range(1,N+1):
    if i%2==1 and (table[i-1])%2==1:
        num+=1
print(num)
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594518412 
 | 
	1594518803 
 | 
	0.9416860778553314 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 5 8 15 50 98 93 87 0 43 44 11 6 24 14
 
 | 
	5
 
 | 
	2
 
 | 
	[
  "N=int(input()) # (0): N=15\ntable=list(map(int,input().split())) # (1): table=[15, 5, 8, 15, 50, 98, 93, 87, 0, 43, 44, 11, 6, 24, 14]\nnum=0 # (2): num=0\nfor i in range(N-1): # (3): i=0 (5): i=1 ... (36): NO CHANGE\n    if i%2==1 and (table[i])%2==1: # (4): NO CHANGE (6): NO CHANGE ... (35): NO CHANGE\n        num+=1 # (7): num=1 (12): num=2 ... (31): num=5\nprint(num)\n"
]  | 
	[
  true
]  | 
	 N=int(input())
 table=list(map(int,input().split()))
 num=0
-for i in range(N-1):
-    if i%2==1 and (table[i])%2==1:
+for i in range(1,N+1):
+    if i%2==1 and (table[i-1])%2==1:
         num+=1
 print(num)
 
 
 | 
	 N=int(input())
 table=list(map(int,input().split()))
 num=0
-for i in range(N-1):
-    if i%2==1 and (table[i])%2==1:
         num+=1
 print(num)
 
 
 | 2 
							 | 2 
							 | 8 
							 | 
					
	u524513264 
 | 
	p02607 
 | 
	s691355292 
 | 
	s197387778 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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)
 
 | 
	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)
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1595369222 
 | 
	1595369553 
 | 
	0.964629521894844 
 | 
	[
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0
]  | 1 
							 | 102 
							 | 
	5
0 4 4 5 7
 
 | 
	0
 
 | 
	1
 
 | 
	[
  "input() # (0): NO CHANGE\nli = list(map(int, input().split())) # (1): li=[0, 4, 4, 5, 7]\nresult = 0 # (2): result=0\nfor i in range(len(li)): # (3): i=0 (6): i=1 ... (14): NO CHANGE\n    if i + 1 % 2 == 1: # (4): NO CHANGE (7): NO CHANGE ... (13): NO CHANGE\n        if li[i] % 2 == 1: # (5): NO CHANGE\n            result += 1\nprint(result)\n"
]  | 
	[
  true
]  | 
	 input()
 li = list(map(int, input().split()))
 result = 0
 for i in range(len(li)):
-    if i + 1 % 2 == 1:
+    if (i + 1) % 2 == 1:
         if li[i] % 2 == 1:
             result += 1
 print(result)
 
+
 
 | 
	 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)
 
 
 | 2 
							 | 1 
							 | 9 
							 | 
					
	u060012100 
 | 
	p02607 
 | 
	s802765221 
 | 
	s303388198 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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)
 
 | 
	n = int(input())
s = list(map(int,input().split()))
a = 0
for i in range(n):
  if i%2 == 0 and s[i]%2 ==1:
    a+=1
print(a) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594522358 
 | 
	1594522523 
 | 
	0.776792529591518 
 | 
	[
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0
]  | 6 
							 | 102 
							 | 
	15
1 3 111 15 000 98 7 78 1 60 9 13 12 13 54
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "n = int(input()) # (0): n=15\ns = list(map(int,input().split()[:n])) # (1): s=[1, 3, 111, 15, 0, 98, 7, 78, 1, 60, 9, 13, 12, 13, 54]\na = 0 # (2): a=0\nfor i in range(1,len(s)): # (3): i=1 (5): i=2 ... (35): NO CHANGE\n  if((i%2 == 0) and (s[i]%2 !=0)): # (4): NO CHANGE (6): NO CHANGE ... (34): NO CHANGE\n    a+=1 # (7): a=1 (16): a=2 ... (26): a=4\nprint(a)\n"
]  | 
	[
  true
]  | 
	 n = int(input())
-s = list(map(int,input().split()[:n]))
+s = list(map(int,input().split()))
 a = 0
-for i in range(1,len(s)):
-  if((i%2 == 0) and (s[i]%2 !=0)):
+for i in range(n):
+  if i%2 == 0 and s[i]%2 ==1:
     a+=1
 print(a)
-
 
 | 
	 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)
-
 
 | 3 
							 | 4 
							 | 8 
							 | 
					
	u282277161 
 | 
	p02607 
 | 
	s841904401 
 | 
	s970368302 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	n = int(input())
a = list(map(int, input().split()))
cnt = 0
for i in range(len(a)):
    if ((i+1) % 2 == 1) and (a[i] % 2 == 1):
        cnt += 1
print(cnt) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515848 
 | 
	1594515888 
 | 
	0.9620190501599347 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 5 71 15 50 98 135 87 0 43 44 11 6 14 19
 
 | 
	5
 
 | 
	4
 
 | 
	[
  "n = int(input()) # (0): n=15\na = list(map(int, input().split())) # (1): a=[15, 5, 71, 15, 50, 98, 135, 87, 0, 43, 44, 11, 6, 14, 19]\n\ncnt = 0 # (2): cnt=0\n\nfor i in range(len(a)): # (3): i=0 (5): i=1 ... (38): NO CHANGE\n    if (i % 2 == 1) and (a[i] % 2 == 1): # (4): NO CHANGE (6): NO CHANGE ... (37): NO CHANGE\n        cnt += 1 # (7): cnt=1 (12): cnt=2 ... (31): cnt=5\n\nprint(cnt)"
]  | 
	[
  true
]  | 
	 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):
+    if ((i+1) % 2 == 1) and (a[i] % 2 == 1):
         cnt += 1
 
 print(cnt)
 
 | 
	 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)
 
 | 1 
							 | 1 
							 | 10 
							 | 
					
	u713914478 
 | 
	p02607 
 | 
	s522983217 
 | 
	s899674612 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N = int(input())
a = list(map(int,input().split()))
cnt = 0
for i in range(N):
	if (i % 2 != 0) and (a[i] % 2 != 0):
		cnt += 1
print(cnt) 
 | 
	N = int(input())
a = list(map(int,input().split()))
cnt = 0
for i in range(N):
	if ((i+1) % 2 != 0) and (a[i] % 2 != 0):
		
		cnt += 1
print(cnt) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516072 
 | 
	1594516220 
 | 
	0.9379894672211864 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 5 109 15 87 98 29 161 0 60 44 11 6 14 19
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "N = int(input()) # (0): N=15\na = list(map(int,input().split())) # (1): a=[1, 5, 109, 15, 87, 98, 29, 161, 0, 60, 44, 11, 6, 14, 19]\n\ncnt = 0 # (2): cnt=0\nfor i in range(N): # (3): i=0 (5): i=1 ... (37): NO CHANGE\n\tif (i % 2 != 0) and (a[i] % 2 != 0): # (4): NO CHANGE (6): NO CHANGE ... (36): NO CHANGE\n\t\tcnt += 1 # (7): cnt=1 (12): cnt=2 ... (30): cnt=4\n\nprint(cnt)"
]  | 
	[
  true
]  | 
	 N = int(input())
 a = list(map(int,input().split()))
 
 cnt = 0
 for i in range(N):
-	if (i % 2 != 0) and (a[i] % 2 != 0):
+	if ((i+1) % 2 != 0) and (a[i] % 2 != 0):
+		
 		cnt += 1
 
 print(cnt)
 
 | 
	 N = int(input())
 a = list(map(int,input().split()))
 
 cnt = 0
 for i in range(N):
-	if (i % 2 != 0) and (a[i] % 2 != 0):
 		cnt += 1
 
 print(cnt)
 
 | 2 
							 | 1 
							 | 9 
							 | 
					
	u370769986 
 | 
	p02607 
 | 
	s906831745 
 | 
	s034346881 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	n = int(input())
a = list(map(int, input().split()))
ans=0
for i in range(n):
    if (i+1)%2==1 and a[i]%2==1:
        ans+=1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515891 
 | 
	1594516218 
 | 
	0.9533712800220776 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	5
0 4 4 5 0
 
 | 
	1
 
 | 
	0
 
 | 
	[
  "n = int(input()) # (0): n=5\na = list(map(int, input().split())) # (1): a=[0, 4, 4, 5, 0]\nans=0 # (2): ans=0\nfor i in range(n): # (3): i=0 (5): i=1 ... (14): NO CHANGE\n    if i%2==1 and a[i]%2==1: # (4): NO CHANGE (6): NO CHANGE ... (13): NO CHANGE\n        ans+=1 # (11): ans=1\nprint(ans)"
]  | 
	[
  true
]  | 
	 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:
+    if (i+1)%2==1 and a[i]%2==1:
         ans+=1
 print(ans)
 
 | 
	 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)
 
 | 1 
							 | 1 
							 | 7 
							 | 
					
	u903082918 
 | 
	p02607 
 | 
	s853936825 
 | 
	s984312514 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	
import sys
import math
from functools import reduce
from bisect import bisect_left
def readString():
    return sys.stdin.readline()
def readInteger():
    return int(readString())
def readStringSet(n):
    return sys.stdin.readline().split(" ")[:n]
def readIntegerSet(n):
    return list(map(int, readStringSet(n)))
def readIntegerMatrix(n, m):
    return reduce(lambda acc, _: acc + [readIntegerSet(m)], range(0, n), [])
def main(N, a):
    count = 0
    for i in range(0, N):
        if i%2==1 and a[i]%2==1:
            count += 1
    return count
if __name__ == "__main__":
    _N = readInteger()
    _a = readIntegerSet(_N)
    print(main(_N, _a)) 
 | 
	
import sys
import math
from functools import reduce
from bisect import bisect_left
def readString():
    return sys.stdin.readline()
def readInteger():
    return int(readString())
def readStringSet(n):
    return sys.stdin.readline().split(" ")[:n]
def readIntegerSet(n):
    return list(map(int, readStringSet(n)))
def readIntegerMatrix(n, m):
    return reduce(lambda acc, _: acc + [readIntegerSet(m)], range(0, n), [])
def main(N, a):
    count = 0
    for i in range(0, N):
        if (i+1)%2==1 and a[i]%2==1:
            count += 1
    return count
if __name__ == "__main__":
    _N = readInteger()
    _a = readIntegerSet(_N)
    print(main(_N, _a)) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516023 
 | 
	1594516115 
 | 
	0.9905881943503776 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 109 15 77 98 29 78 1 60 9 11 1 13 32
 
 | 
	4
 
 | 
	7
 
 | 
	[
  "\nimport sys\nimport math\nfrom functools import reduce\nfrom bisect import bisect_left\n\ndef readString(): # (0): readString=<function readString>\n    return sys.stdin.readline()\n\ndef readInteger(): # (1): readInteger=<function readInteger>\n    return int(readString())\n\ndef readStringSet(n): # (2): readStringSet=<function readStringSet>\n    return sys.stdin.readline().split(\" \")[:n]\n\ndef readIntegerSet(n): # (3): readIntegerSet=<function readIntegerSet>\n    return list(map(int, readStringSet(n)))\n\ndef readIntegerMatrix(n, m): # (4): readIntegerMatrix=<function readIntegerMatrix>\n    return reduce(lambda acc, _: acc + [readIntegerSet(m)], range(0, n), [])\n\ndef main(N, a): # (5): main=<function main>\n    count = 0\n    for i in range(0, N):\n        if i%2==1 and a[i]%2==1:\n            count += 1\n    return count\n\nif __name__ == \"__main__\":\n    _N = readInteger()\n    _a = readIntegerSet(_N)\n\n    print(main(_N, _a))"
]  | 
	[
  true
]  | 
	 
 import sys
 import math
 from functools import reduce
 from bisect import bisect_left
 
 def readString():
     return sys.stdin.readline()
 
 def readInteger():
     return int(readString())
 
 def readStringSet(n):
     return sys.stdin.readline().split(" ")[:n]
 
 def readIntegerSet(n):
     return list(map(int, readStringSet(n)))
 
 def readIntegerMatrix(n, m):
     return reduce(lambda acc, _: acc + [readIntegerSet(m)], range(0, n), [])
 
 def main(N, a):
     count = 0
     for i in range(0, N):
-        if i%2==1 and a[i]%2==1:
+        if (i+1)%2==1 and a[i]%2==1:
             count += 1
     return count
 
 if __name__ == "__main__":
     _N = readInteger()
     _a = readIntegerSet(_N)
 
     print(main(_N, _a))
 
 | 
	 
 import sys
 import math
 from functools import reduce
 from bisect import bisect_left
 
 def readString():
     return sys.stdin.readline()
 
 def readInteger():
     return int(readString())
 
 def readStringSet(n):
     return sys.stdin.readline().split(" ")[:n]
 
 def readIntegerSet(n):
     return list(map(int, readStringSet(n)))
 
 def readIntegerMatrix(n, m):
     return reduce(lambda acc, _: acc + [readIntegerSet(m)], range(0, n), [])
 
 def main(N, a):
     count = 0
     for i in range(0, N):
-        if i%2==1 and a[i]%2==1:
             count += 1
     return count
 
 if __name__ == "__main__":
     _N = readInteger()
     _a = readIntegerSet(_N)
 
     print(main(_N, _a))
 
 | 1 
							 | 1 
							 | 33 
							 | 
					
	u808916291 
 | 
	p02607 
 | 
	s359515908 
 | 
	s306914985 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	n = int(input())
a = list(map(int, input().split()))
ans = 0
for i in range(n):
    if (i+1)%2 == 1 and a[i]%2 == 1:
        ans += 1
print(ans) 
 | 
	PyPy3 (7.3.0) 
 | 
	PyPy3 (7.3.0) 
 | 
	1594515839 
 | 
	1594516232 
 | 
	0.955998050002236 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 111 15 000 98 14 78 0 60 15 13 12 13 54
 
 | 
	4
 
 | 
	3
 
 | 
	[
  "n = int(input()) # (0): n=15\na = list(map(int, input().split())) # (1): a=[1, 3, 111, 15, 0, 98, 14, 78, 0, 60, 15, 13, 12, 13, 54]\nans = 0 # (2): ans=0\nfor i in range(n): # (3): i=0 (5): i=1 ... (37): NO CHANGE\n    if i%2 == 1 and a[i]%2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (36): NO CHANGE\n        ans += 1 # (7): ans=1 (12): ans=2 ... (34): ans=4\nprint(ans)"
]  | 
	[
  true
]  | 
	 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:
+    if (i+1)%2 == 1 and a[i]%2 == 1:
         ans += 1
 print(ans)
 
 | 
	 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)
 
 | 1 
							 | 1 
							 | 7 
							 | 
					
	u089142196 
 | 
	p02607 
 | 
	s086035817 
 | 
	s570326252 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	
N=int(input())
a=list(map(int,input().split()))
ans=0
for i in range(N):
    if a[i]%2==1 and i%2==1:
        ans +=1
print(ans) 
 | 
	
N=int(input())
a=list(map(int,input().split()))
ans=0
for i in range(N):
    if a[i]%2==1 and (i+1)%2==1:
        ans +=1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515804 
 | 
	1594515858 
 | 
	0.9530207117244013 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 109 15 87 98 29 161 1 87 9 11 9 14 32
 
 | 
	5
 
 | 
	7
 
 | 
	[
  "\n\nN=int(input()) # (0): N=15\na=list(map(int,input().split())) # (1): a=[1, 3, 109, 15, 87, 98, 29, 161, 1, 87, 9, 11, 9, 14, 32]\n\nans=0 # (2): ans=0\nfor i in range(N): # (3): i=0 (5): i=1 ... (38): NO CHANGE\n    if a[i]%2==1 and i%2==1: # (4): NO CHANGE (6): NO CHANGE ... (37): NO CHANGE\n        ans +=1 # (7): ans=1 (12): ans=2 ... (31): ans=5\nprint(ans)"
]  | 
	[
  true
]  | 
	 
 
 N=int(input())
 a=list(map(int,input().split()))
 
 ans=0
 for i in range(N):
-    if a[i]%2==1 and i%2==1:
+    if a[i]%2==1 and (i+1)%2==1:
         ans +=1
 print(ans)
 
 | 
	 
 
 N=int(input())
 a=list(map(int,input().split()))
 
 ans=0
 for i in range(N):
-    if a[i]%2==1 and i%2==1:
         ans +=1
 print(ans)
 
 | 1 
							 | 1 
							 | 10 
							 | 
					
	u674736819 
 | 
	p02607 
 | 
	s120757474 
 | 
	s184439092 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N = int(input())
A = list(map(int, input().split()))
Re = []
for i in range(N):
  if i % 2 != 0:
    if A[i] % 2 != 0:
      Re.append(i)
ans = len(Re)
print(ans) 
 | 
	N = int(input())
A = list(map(int, input().split()))
Re = []
for i in range(1, N+1):
  if i % 2 != 0:
    if A[i - 1] % 2 != 0:
      Re.append(i)
ans = len(Re)
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594517052 
 | 
	1594517142 
 | 
	0.9245418879095797 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 55 15 77 98 29 78 1 60 9 11 9 13 32
 
 | 
	4
 
 | 
	7
 
 | 
	[
  "N = int(input()) # (0): N=15\nA = list(map(int, input().split())) # (1): A=[1, 3, 55, 15, 77, 98, 29, 78, 1, 60, 9, 11, 9, 13, 32]\nRe = [] # (2): Re=[]\nfor i in range(N): # (3): i=0 (5): i=1 ... (44): NO CHANGE\n  if i % 2 != 0: # (4): NO CHANGE (6): NO CHANGE ... (43): NO CHANGE\n    if A[i] % 2 != 0: # (7): NO CHANGE (13): NO CHANGE ... (40): NO CHANGE\n      Re.append(i) # (8): Re=[1] (14): Re=[1, 3] ... (41): Re=[1, 3, 11, 13]\nans = len(Re) # (45): ans=4\nprint(ans)"
]  | 
	[
  true
]  | 
	 N = int(input())
 A = list(map(int, input().split()))
 Re = []
-for i in range(N):
+for i in range(1, N+1):
   if i % 2 != 0:
-    if A[i] % 2 != 0:
+    if A[i - 1] % 2 != 0:
       Re.append(i)
 ans = len(Re)
 print(ans)
 
 | 
	 N = int(input())
 A = list(map(int, input().split()))
 Re = []
-for i in range(N):
   if i % 2 != 0:
-    if A[i] % 2 != 0:
       Re.append(i)
 ans = len(Re)
 print(ans)
 
 | 2 
							 | 2 
							 | 9 
							 | 
					
	u752395175 
 | 
	p02607 
 | 
	s871700657 
 | 
	s171850264 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	def resolve():
    cnt = 0
    n = int(input())
    A = list(map(int, input().split()))
    for i, a in enumerate(A):
        if i % 2 == 1 and a % 2 == 1:
            cnt += 1
    
    print(cnt)
resolve() 
 | 
	def resolve():
    cnt = 0
    n = int(input())
    A = list(map(int, input().split()))
    for i in range(n):
        if (i+1) % 2 == 1 and A[i] % 2 == 1:
            cnt += 1
    
    print(cnt)
resolve() 
 | 
	PyPy3 (7.3.0) 
 | 
	PyPy3 (7.3.0) 
 | 
	1594517434 
 | 
	1594519186 
 | 
	0.9054664517256548 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 55 15 000 98 28 78 1 60 0 13 12 13 54
 
 | 
	4
 
 | 
	3
 
 | 
	[
  "def resolve(): # (0): resolve=<function resolve>\n    cnt = 0 # (2): cnt=0\n    n = int(input()) # (3): n=15\n    A = list(map(int, input().split())) # (4): A=[1, 3, 55, 15, 0, 98, 28, 78, 1, 60, 0, 13, 12, 13, 54]\n    for i, a in enumerate(A): # (5): i=0, a=1 (7): i=1, a=3 ... (39): NO CHANGE\n        if i % 2 == 1 and a % 2 == 1: # (6): NO CHANGE (8): NO CHANGE ... (38): NO CHANGE\n            cnt += 1 # (9): cnt=1 (14): cnt=2 ... (36): cnt=4\n    \n    print(cnt)\n\nresolve() # (1): NO CHANGE\n"
]  | 
	[
  true
]  | 
	 def resolve():
     cnt = 0
     n = int(input())
     A = list(map(int, input().split()))
-    for i, a in enumerate(A):
-        if i % 2 == 1 and a % 2 == 1:
+    for i in range(n):
+        if (i+1) % 2 == 1 and A[i] % 2 == 1:
             cnt += 1
     
     print(cnt)
 
 resolve()
 
 | 
	 def resolve():
     cnt = 0
     n = int(input())
     A = list(map(int, input().split()))
-    for i, a in enumerate(A):
-        if i % 2 == 1 and a % 2 == 1:
             cnt += 1
     
     print(cnt)
 
 resolve()
 
 | 2 
							 | 2 
							 | 11 
							 | 
					
	u580236524 
 | 
	p02607 
 | 
	s759663322 
 | 
	s340128099 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
alist = list(map(int, input().split()))
ans = 0
for aindex, a in enumerate(alist):
    if aindex % 2 != 0 and a % 2 != 0:
       ans += 1
print(ans) 
 | 
	n = int(input())
alist = list(map(int, input().split()))
ans = 0
for aindex, a in enumerate(alist):
    if (aindex + 1) % 2 != 0 and a % 2 != 0:
       ans += 1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516381 
 | 
	1594516867 
 | 
	0.9514668878734035 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 11 46 15 50 98 93 77 31 43 44 11 6 24 14
 
 | 
	5
 
 | 
	3
 
 | 
	[
  "n = int(input()) # (0): n=15\nalist = list(map(int, input().split())) # (1): alist=[15, 11, 46, 15, 50, 98, 93, 77, 31, 43, 44, 11, 6, 24, 14]\n\nans = 0 # (2): ans=0\nfor aindex, a in enumerate(alist): # (3): aindex=0, a=15 (5): aindex=1, a=11 ... (38): NO CHANGE\n    if aindex % 2 != 0 and a % 2 != 0: # (4): NO CHANGE (6): NO CHANGE ... (37): NO CHANGE\n       ans += 1 # (7): ans=1 (12): ans=2 ... (31): ans=5\nprint(ans)"
]  | 
	[
  true
]  | 
	 n = int(input())
 alist = list(map(int, input().split()))
 
 ans = 0
 for aindex, a in enumerate(alist):
-    if aindex % 2 != 0 and a % 2 != 0:
+    if (aindex + 1) % 2 != 0 and a % 2 != 0:
        ans += 1
 print(ans)
 
 | 
	 n = int(input())
 alist = list(map(int, input().split()))
 
 ans = 0
 for aindex, a in enumerate(alist):
-    if aindex % 2 != 0 and a % 2 != 0:
        ans += 1
 print(ans)
 
 | 1 
							 | 1 
							 | 8 
							 | 
					
	u970809473 
 | 
	p02607 
 | 
	s154348931 
 | 
	s290935949 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n=int(input())
a=list(map(int,input().split()))
ans=0
for i in range(n):
  if i%2==1:
    if a[i]%2==1:
      ans+=1
print(ans) 
 | 
	n=int(input())
a=list(map(int,input().split()))
ans=0
for i in range(n):
  if i%2==0:
    if a[i]%2==1:
      ans+=1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515771 
 | 
	1594515817 
 | 
	0.9799565852526811 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 5 109 15 87 98 29 39 0 60 44 11 6 14 19
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "n=int(input()) # (0): n=15\na=list(map(int,input().split())) # (1): a=[1, 5, 109, 15, 87, 98, 29, 39, 0, 60, 44, 11, 6, 14, 19]\nans=0 # (2): ans=0\nfor i in range(n): # (3): i=0 (5): i=1 ... (44): NO CHANGE\n  if i%2==1: # (4): NO CHANGE (6): NO CHANGE ... (43): NO CHANGE\n    if a[i]%2==1: # (7): NO CHANGE (13): NO CHANGE ... (41): NO CHANGE\n      ans+=1 # (8): ans=1 (14): ans=2 ... (36): ans=4\nprint(ans)"
]  | 
	[
  true
]  | 
	 n=int(input())
 a=list(map(int,input().split()))
 ans=0
 for i in range(n):
-  if i%2==1:
+  if i%2==0:
     if a[i]%2==1:
       ans+=1
 print(ans)
 
 | 
	 n=int(input())
 a=list(map(int,input().split()))
 ans=0
 for i in range(n):
-  if i%2==1:
     if a[i]%2==1:
       ans+=1
 print(ans)
 
 | 1 
							 | 1 
							 | 8 
							 | 
					
	u098679988 
 | 
	p02607 
 | 
	s614928846 
 | 
	s092163947 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
ls = list(map(int, input().split()))
ans = 0
for i, ele in enumerate(ls):
    print(i+1, ele)
    if (i+1)%2 != 0:
        if ele%2 != 0:
            ans += 1
print(ans) 
 | 
	n = int(input())
ls = list(map(int, input().split()))
ans = 0
for i, ele in enumerate(ls):
    if (i+1)%2 != 0:
        if ele%2 != 0:
            ans += 1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516305 
 | 
	1594516330 
 | 
	0.8871328981933765 
 | 
	[
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0
]  | 0 
							 | 102 
							 | 
	15
1 10 109 15 87 98 29 161 0 60 86 11 9 14 32
 
 | 
	1 1
2 10
3 109
4 15
5 87
6 98
7 29
8 161
9 0
10 60
11 86
12 11
13 9
14 14
15 32
5
 
 | 
	5
 
 | 
	[
  "n = int(input()) # (0): n=15\nls = list(map(int, input().split())) # (1): ls=[1, 10, 109, 15, 87, 98, 29, 161, 0, 60, 86, 11, 9, 14, 32]\n\nans = 0 # (2): ans=0\nfor i, ele in enumerate(ls): # (3): i=0, ele=1 (8): i=1, ele=10 ... (61): NO CHANGE\n    print(i+1, ele) # (4): NO CHANGE (9): NO CHANGE ... (58): NO CHANGE\n    if (i+1)%2 != 0: # (5): NO CHANGE (10): NO CHANGE ... (59): NO CHANGE\n        if ele%2 != 0: # (6): NO CHANGE (14): NO CHANGE ... (60): NO CHANGE\n            ans += 1 # (7): ans=1 (15): ans=2 ... (53): ans=5\nprint(ans)"
]  | 
	[
  true
]  | 
	 n = int(input())
 ls = list(map(int, input().split()))
 
 ans = 0
 for i, ele in enumerate(ls):
-    print(i+1, ele)
     if (i+1)%2 != 0:
         if ele%2 != 0:
             ans += 1
 print(ans)
 
 | 
	 n = int(input())
 ls = list(map(int, input().split()))
 
 ans = 0
 for i, ele in enumerate(ls):
-    print(i+1, ele)
     if (i+1)%2 != 0:
         if ele%2 != 0:
             ans += 1
 print(ans)
 
 | 0 
							 | 1 
							 | 10 
							 | 
					
	u583507988 
 | 
	p02607 
 | 
	s019752157 
 | 
	s599733271 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	n = int(input())
a = list(map(int, input().split()))
ans = 0
for i in range(n):
  if (i+1)%2==1 and a[i]%2==1:
    ans += 1
    
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515915 
 | 
	1594515980 
 | 
	0.9547227390070026 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
0 5 46 15 50 98 93 87 31 43 44 11 6 24 14
 
 | 
	5
 
 | 
	2
 
 | 
	[
  "注释代码执行超时"
]  | 
	[
  false
]  | 
	 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:
+  if (i+1)%2==1 and a[i]%2==1:
     ans += 1
     
 print(ans)
 
 | 
	 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)
 
 | 1 
							 | 1 
							 | 9 
							 | 
					
	u645487439 
 | 
	p02607 
 | 
	s790941420 
 | 
	s632381688 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
a_list = list(map(int, input().split()))
ans = 0
for i in range(1, n, 2):
    if a_list[i] % 2 == 1:
        ans += 1
print(ans)
 
 | 
	n = int(input())
a_list = list(map(int, input().split()))
ans = 0
for i in range(0, n, 2):
    if a_list[i] % 2 == 1:
        ans += 1
print(ans)
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516060 
 | 
	1594516108 
 | 
	0.9828452537007798 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 109 15 77 98 29 78 1 60 9 11 9 1 32
 
 | 
	4
 
 | 
	7
 
 | 
	[
  "n = int(input()) # (0): n=15\na_list = list(map(int, input().split())) # (1): a_list=[1, 3, 109, 15, 77, 98, 29, 78, 1, 60, 9, 11, 9, 1, 32]\nans = 0 # (2): ans=0\n\nfor i in range(1, n, 2): # (3): i=1 (6): i=3 ... (21): NO CHANGE\n    if a_list[i] % 2 == 1: # (4): NO CHANGE (7): NO CHANGE ... (19): NO CHANGE\n        ans += 1 # (5): ans=1 (8): ans=2 ... (20): ans=4\n\nprint(ans)\n"
]  | 
	[
  true
]  | 
	 n = int(input())
 a_list = list(map(int, input().split()))
 ans = 0
 
-for i in range(1, n, 2):
+for i in range(0, n, 2):
     if a_list[i] % 2 == 1:
         ans += 1
 
 print(ans)
 
 
 | 
	 n = int(input())
 a_list = list(map(int, input().split()))
 ans = 0
 
-for i in range(1, n, 2):
     if a_list[i] % 2 == 1:
         ans += 1
 
 print(ans)
 
 
 | 1 
							 | 1 
							 | 10 
							 | 
					
	u242031676 
 | 
	p02607 
 | 
	s777865712 
 | 
	s917483906 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n, *a = map(int, open(0).read().split())
ans = 0
for i in range(n):
    if i%2 and a[i]%2:
        ans += 1
print(ans) 
 | 
	n, *a = map(int, open(0).read().split())
ans = 0
for i in range(n):
    if i%2==0 and a[i]%2:
        ans += 1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516563 
 | 
	1594516638 
 | 
	0.9622032542074636 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 55 15 77 98 28 78 1 60 9 11 9 13 32
 
 | 
	4
 
 | 
	6
 
 | 
	[
  "注释代码执行超时"
]  | 
	[
  false
]  | 
	 n, *a = map(int, open(0).read().split())
 ans = 0
 for i in range(n):
-    if i%2 and a[i]%2:
+    if i%2==0 and a[i]%2:
         ans += 1
 print(ans)
 
 | 
	 n, *a = map(int, open(0).read().split())
 ans = 0
 for i in range(n):
-    if i%2 and a[i]%2:
         ans += 1
 print(ans)
 
 | 1 
							 | 1 
							 | 6 
							 | 
					
	u500376440 
 | 
	p02607 
 | 
	s739328858 
 | 
	s809083551 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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!=0:
    ans+=1
print(ans)
 
 | 
	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!=0:
    ans+=1
print(ans)
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516080 
 | 
	1594516217 
 | 
	0.9797945634141093 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 55 15 77 98 28 78 1 60 9 13 12 13 32
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "注释代码执行超时"
]  | 
	[
  false
]  | 
	 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!=0:
+  if (i+1)%2!=0 and a[i]%2!=0:
     ans+=1
 print(ans)
 
 
 | 
	 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!=0:
     ans+=1
 print(ans)
 
 
 | 1 
							 | 1 
							 | 8 
							 | 
					
	u528890845 
 | 
	p02607 
 | 
	s478401584 
 | 
	s906403243 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N=int(input())
a=tuple(map(int,input().split()))
c=0
for i in range(N):
	if i%2 and a[i]%2:c+=1
print(c) 
 | 
	N=int(input())
a=tuple(map(int,input().split()))
c=0
for i in range(1,N+1):
	if i%2 and a[i-1]%2:c+=1
print(c) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516676 
 | 
	1594516749 
 | 
	0.909549946652805 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
0 5 46 15 50 98 93 87 31 43 44 11 6 24 14
 
 | 
	5
 
 | 
	2
 
 | 
	[
  "N=int(input()) # (0): N=15\na=tuple(map(int,input().split())) # (1): a=(0, 5, 46, 15, 50, 98, 93, 87, 31, 43, 44, 11, 6, 24, 14)\nc=0 # (2): c=0\nfor i in range(N): # (3): i=0 (5): i=1 ... (33): NO CHANGE\n\tif i%2 and a[i]%2:c+=1 # (4): NO CHANGE (6): c=1 ... (32): NO CHANGE\nprint(c)"
]  | 
	[
  true
]  | 
	 N=int(input())
 a=tuple(map(int,input().split()))
 c=0
-for i in range(N):
-	if i%2 and a[i]%2:c+=1
+for i in range(1,N+1):
+	if i%2 and a[i-1]%2:c+=1
 print(c)
 
 | 
	 N=int(input())
 a=tuple(map(int,input().split()))
 c=0
-for i in range(N):
-	if i%2 and a[i]%2:c+=1
 print(c)
 
 | 2 
							 | 2 
							 | 6 
							 | 
					
	u455533363 
 | 
	p02607 
 | 
	s291609194 
 | 
	s862408076 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
a = list(map(int, input().split()))
count = 0
for i in range(len(a)):
    if i % 2 == 1 and a[i] % 2 == 1:
        count += 1
print(count)
 
 | 
	n = int(input())
a = list(map(int, input().split()))
count = 0
for i in range(len(a)):
    if (i+1) % 2 == 1 and a[i] % 2 == 1:
        count += 1
print(count)
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515852 
 | 
	1594515952 
 | 
	0.9609477880132569 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 5 71 15 87 98 135 87 0 60 44 11 6 14 19
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "n = int(input()) # (0): n=15\n\na = list(map(int, input().split())) # (1): a=[15, 5, 71, 15, 87, 98, 135, 87, 0, 60, 44, 11, 6, 14, 19]\ncount = 0 # (2): count=0\nfor i in range(len(a)): # (3): i=0 (5): i=1 ... (37): NO CHANGE\n    if i % 2 == 1 and a[i] % 2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (36): NO CHANGE\n        count += 1 # (7): count=1 (12): count=2 ... (30): count=4\n\nprint(count)\n"
]  | 
	[
  true
]  | 
	 n = int(input())
 
 a = list(map(int, input().split()))
 count = 0
 for i in range(len(a)):
-    if i % 2 == 1 and a[i] % 2 == 1:
+    if (i+1) % 2 == 1 and a[i] % 2 == 1:
         count += 1
 
 print(count)
 
 
 | 
	 n = int(input())
 
 a = list(map(int, input().split()))
 count = 0
 for i in range(len(a)):
-    if i % 2 == 1 and a[i] % 2 == 1:
         count += 1
 
 print(count)
 
 
 | 1 
							 | 1 
							 | 10 
							 | 
					
	u977642052 
 | 
	p02607 
 | 
	s205482494 
 | 
	s089641152 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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)
 
 | 
	N = int(input())
a = list(map(int, input().split()))
ans = sum(1 for i, j in enumerate(a) if (i + 1) % 2 == 1 and j % 2 == 1)
print(ans)
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594591729 
 | 
	1594591772 
 | 
	0.9416456886200164 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	5
2 5 4 5 7
 
 | 
	2
 
 | 
	1
 
 | 
	[
  "N = int(input()) # (0): N=5\na = list(map(int, input().split())) # (1): a=[2, 5, 4, 5, 7]\n\nans = sum(1 for i, j in enumerate(a) if i % 2 == 1 and j % 2 == 1) # (2): ans=2\n\nprint(ans)\n"
]  | 
	[
  true
]  | 
	 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)
+ans = sum(1 for i, j in enumerate(a) if (i + 1) % 2 == 1 and j % 2 == 1)
 
 print(ans)
 
 
 | 
	 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)
 
 
 | 1 
							 | 1 
							 | 7 
							 | 
					
	u861023541 
 | 
	p02607 
 | 
	s974510718 
 | 
	s188598621 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N = int(input())
arr = list(map(int, input().split()))
count = 0
for i in range(N):
  if (i%2 == 1) and (arr[i]%2 == 1):
    count += 1
print(count) 
 | 
	N = int(input())
arr = list(map(int, input().split()))
count = 0
for i in range(1, N+1):
  if (i%2 == 1) and (arr[i-1]%2 == 1):
    count += 1
print(count) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516136 
 | 
	1594516263 
 | 
	0.9296805437639426 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 5 109 15 87 98 135 87 0 60 44 11 6 8 19
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "N = int(input()) # (0): N=15\narr = list(map(int, input().split())) # (1): arr=[1, 5, 109, 15, 87, 98, 135, 87, 0, 60, 44, 11, 6, 8, 19]\ncount = 0 # (2): count=0\nfor i in range(N): # (3): i=0 (5): i=1 ... (37): NO CHANGE\n  if (i%2 == 1) and (arr[i]%2 == 1): # (4): NO CHANGE (6): NO CHANGE ... (36): NO CHANGE\n    count += 1 # (7): count=1 (12): count=2 ... (30): count=4\nprint(count)"
]  | 
	[
  true
]  | 
	 N = int(input())
 arr = list(map(int, input().split()))
 count = 0
-for i in range(N):
-  if (i%2 == 1) and (arr[i]%2 == 1):
+for i in range(1, N+1):
+  if (i%2 == 1) and (arr[i-1]%2 == 1):
     count += 1
 print(count)
 
 | 
	 N = int(input())
 arr = list(map(int, input().split()))
 count = 0
-for i in range(N):
-  if (i%2 == 1) and (arr[i]%2 == 1):
     count += 1
 print(count)
 
 | 2 
							 | 2 
							 | 7 
							 | 
					
	u307622233 
 | 
	p02607 
 | 
	s754048295 
 | 
	s840546273 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	def main():
    N = int(input())
    A = [int(i) for i in input().split()]
    ans = 0
    for v in A[0::2]:
        if v % 2 == 1:
            ans += 1
            print(v)
    print(ans)
if __name__ == '__main__':
    main()
 
 | 
	def main():
    N = int(input())
    
    A = [int(i) for i in input().split()]
    ans = 0
    for v in A[0::2]:
        if v % 2 == 1:
            ans += 1
    print(ans)
if __name__ == '__main__':
    main() 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516205 
 | 
	1594516308 
 | 
	0.9133842303043406 
 | 
	[
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0
]  | 1 
							 | 102 
							 | 
	15
1 3 55 15 77 98 29 78 1 60 9 11 9 13 32
 
 | 
	1
55
77
29
1
9
9
7
 
 | 
	7
 
 | 
	[
  "def main(): # (0): main=<function main>\n\n    N = int(input())\n    A = [int(i) for i in input().split()]\n    ans = 0\n    for v in A[0::2]:\n        if v % 2 == 1:\n            ans += 1\n            print(v)\n\n    print(ans)\n\nif __name__ == '__main__':\n    main()\n"
]  | 
	[
  true
]  | 
	 def main():
 
     N = int(input())
+    
     A = [int(i) for i in input().split()]
     ans = 0
     for v in A[0::2]:
         if v % 2 == 1:
             ans += 1
-            print(v)
 
     print(ans)
 
 if __name__ == '__main__':
     main()
-
 
 | 
	 def main():
 
     N = int(input())
     A = [int(i) for i in input().split()]
     ans = 0
     for v in A[0::2]:
         if v % 2 == 1:
             ans += 1
-            print(v)
 
     print(ans)
 
 if __name__ == '__main__':
     main()
-
 
 | 1 
							 | 2 
							 | 15 
							 | 
					
	u625255205 
 | 
	p02607 
 | 
	s472120498 
 | 
	s253012475 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
a_L = list(map(int,input().split()))
ans = 0
for i in range(n):
    if (i+1)%2!=0 and a_L[i] !=0:
        ans += 1
print(ans) 
 | 
	n = int(input())
a_L = list(map(int,input().split()))
ans = 0
for i in range(n):
    if (i+1)%2!=0 and a_L[i]%2 !=0:
        ans += 1
print(ans) 
 | 
	PyPy3 (7.3.0) 
 | 
	PyPy3 (7.3.0) 
 | 
	1594517489 
 | 
	1594517913 
 | 
	0.9758528097995428 
 | 
	[
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0
]  | 1 
							 | 102 
							 | 
	15
1 3 111 15 000 98 14 78 1 60 15 13 12 13 54
 
 | 
	7
 
 | 
	4
 
 | 
	[
  "n = int(input()) # (0): n=15\n\na_L = list(map(int,input().split())) # (1): a_L=[1, 3, 111, 15, 0, 98, 14, 78, 1, 60, 15, 13, 12, 13, 54]\n\nans = 0 # (2): ans=0\nfor i in range(n): # (3): i=0 (6): i=1 ... (40): NO CHANGE\n    if (i+1)%2!=0 and a_L[i] !=0: # (4): NO CHANGE (7): NO CHANGE ... (38): NO CHANGE\n        ans += 1 # (5): ans=1 (10): ans=2 ... (39): ans=7\n\nprint(ans)"
]  | 
	[
  true
]  | 
	 n = int(input())
 
 a_L = list(map(int,input().split()))
 
 ans = 0
 for i in range(n):
-    if (i+1)%2!=0 and a_L[i] !=0:
+    if (i+1)%2!=0 and a_L[i]%2 !=0:
         ans += 1
 
 print(ans)
 
 | 
	 n = int(input())
 
 a_L = list(map(int,input().split()))
 
 ans = 0
 for i in range(n):
-    if (i+1)%2!=0 and a_L[i] !=0:
         ans += 1
 
 print(ans)
 
 | 1 
							 | 1 
							 | 10 
							 | 
					
	u795688372 
 | 
	p02607 
 | 
	s966189804 
 | 
	s863162318 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	import sys
input = sys.stdin.readline
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) 
 | 
	import sys
input = sys.stdin.readline
N = int(input())
A = list(map(int, input().split()))
ans = 0
for i in range(N):
    if (i % 2 == 0) and (A[i] % 2 == 1):
        ans += 1
print(ans) 
 | 
	PyPy3 (7.3.0) 
 | 
	PyPy3 (7.3.0) 
 | 
	1594515798 
 | 
	1594515855 
 | 
	0.9868238253530391 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 11 46 15 50 98 93 87 31 43 44 11 6 24 14
 
 | 
	5
 
 | 
	3
 
 | 
	[
  "import sys\ninput = sys.stdin.readline # (0): input=<built-in method readline of _io.TextIOWrapper object at 0x0000018ED65A6190>\n\n\n\nN = int(input()) # (1): N=15\nA = list(map(int, input().split())) # (2): A=[15, 11, 46, 15, 50, 98, 93, 87, 31, 43, 44, 11, 6, 24, 14]\n\nans = 0 # (3): ans=0\n\nfor i in range(N): # (4): i=0 (6): i=1 ... (39): NO CHANGE\n    if (i % 2 == 1) and (A[i] % 2 == 1): # (5): NO CHANGE (7): NO CHANGE ... (38): NO CHANGE\n        ans += 1 # (8): ans=1 (13): ans=2 ... (32): ans=5\n\nprint(ans)"
]  | 
	[
  true
]  | 
	 import sys
 input = sys.stdin.readline
 
 
 
 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):
+    if (i % 2 == 0) and (A[i] % 2 == 1):
         ans += 1
 
 print(ans)
 
 | 
	 import sys
 input = sys.stdin.readline
 
 
 
 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)
 
 | 1 
							 | 1 
							 | 15 
							 | 
					
	u540290227 
 | 
	p02607 
 | 
	s869165047 
 | 
	s004225571 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
a = list(map(int, input().split()))
c = 0
for i in range(len(a)):
    if i % 2 == 1:
        if a[i] % 2 == 1:
            c += 1
print(c) 
 | 
	n = int(input())
a = list(map(int, input().split()))
c = 0
for i in range(len(a)):
    if i % 2 == 0:
        if a[i] % 2 == 1:
            c += 1
print(c) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515830 
 | 
	1594515947 
 | 
	0.9837380598312618 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	5
2 5 4 5 7
 
 | 
	2
 
 | 
	1
 
 | 
	[
  "n = int(input()) # (0): n=5\na = list(map(int, input().split())) # (1): a=[2, 5, 4, 5, 7]\nc = 0 # (2): c=0\nfor i in range(len(a)): # (3): i=0 (5): i=1 ... (17): NO CHANGE\n    if i % 2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (16): NO CHANGE\n        if a[i] % 2 == 1: # (7): NO CHANGE (13): NO CHANGE\n            c += 1 # (8): c=1 (14): c=2\n\nprint(c)"
]  | 
	[
  true
]  | 
	 n = int(input())
 a = list(map(int, input().split()))
 c = 0
 for i in range(len(a)):
-    if i % 2 == 1:
+    if i % 2 == 0:
         if a[i] % 2 == 1:
             c += 1
 
 print(c)
 
 | 
	 n = int(input())
 a = list(map(int, input().split()))
 c = 0
 for i in range(len(a)):
-    if i % 2 == 1:
         if a[i] % 2 == 1:
             c += 1
 
 print(c)
 
 | 1 
							 | 1 
							 | 9 
							 | 
					
	u482080156 
 | 
	p02607 
 | 
	s560133894 
 | 
	s695553660 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n=int(input())
l=list(map(int,input().split()))
l=l[1::2]
a=0
for i in l:
    if(i%2==1):
        a+=1
print(a) 
 | 
	n=int(input())
l=list(map(int,input().split()))
l=l[0::2]
a=0
for i in l:
    if(i%2==1):
        a+=1
print(a) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516129 
 | 
	1594516325 
 | 
	0.9770064524882032 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 109 15 87 98 29 78 1 60 9 11 9 14 32
 
 | 
	3
 
 | 
	7
 
 | 
	[
  "n=int(input()) # (0): n=15\nl=list(map(int,input().split())) # (1): l=[1, 3, 109, 15, 87, 98, 29, 78, 1, 60, 9, 11, 9, 14, 32]\nl=l[1::2] # (2): l=[3, 15, 98, 78, 60, 11, 14]\na=0 # (3): a=0\nfor i in l: # (4): i=3 (7): i=15 ... (21): NO CHANGE\n    if(i%2==1): # (5): NO CHANGE (8): NO CHANGE ... (20): NO CHANGE\n        a+=1 # (6): a=1 (9): a=2 (18): a=3\nprint(a)"
]  | 
	[
  true
]  | 
	 n=int(input())
 l=list(map(int,input().split()))
-l=l[1::2]
+l=l[0::2]
 a=0
 for i in l:
     if(i%2==1):
         a+=1
 print(a)
 
 | 
	 n=int(input())
 l=list(map(int,input().split()))
-l=l[1::2]
 a=0
 for i in l:
     if(i%2==1):
         a+=1
 print(a)
 
 | 1 
							 | 1 
							 | 8 
							 | 
					
	u848535504 
 | 
	p02607 
 | 
	s542826050 
 | 
	s184585458 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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)
 
 | 
	N = int(input())
n = list(map(int,input().split()))
ans = 0
for i in range(N):
  if n[i] % 2 == 1 and (i-1)%2 == 1:
    ans += 1
    
print(ans)
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1596638701 
 | 
	1596638980 
 | 
	0.9476198045388928 
 | 
	[
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  1,
  0,
  0,
  0,
  0
]  | 11 
							 | 102 
							 | 
	15
1 3 109 15 77 98 29 78 1 60 9 11 1 13 32
 
 | 
	3
 
 | 
	7
 
 | 
	[
  "N = int(input()) # (0): N=15\nn = list(map(int,input().split())) # (1): n=[1, 3, 109, 15, 77, 98, 29, 78, 1, 60, 9, 11, 1, 13, 32]\n\nans = 0 # (2): ans=0\nfor i in range(N): # (3): i=0 (5): i=1 ... (36): NO CHANGE\n  if n[i] % 2 == 0 and (i+1)%2 == 0: # (4): NO CHANGE (6): NO CHANGE ... (35): NO CHANGE\n    ans += 1 # (15): ans=1 (20): ans=2 (25): ans=3\n    \nprint(ans)\n"
]  | 
	[
  true
]  | 
	 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:
+  if n[i] % 2 == 1 and (i-1)%2 == 1:
     ans += 1
     
 print(ans)
 
 
 | 
	 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)
 
 
 | 1 
							 | 1 
							 | 10 
							 | 
					
	u033642300 
 | 
	p02607 
 | 
	s733099845 
 | 
	s009551061 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	import copy
def main():
    N = int(input())
    l = list(map(int, input().split()))
    c = 0
    for i in range(N):
        if (i + 1) % 2 == 0 and l[i] % 2 == 1:
          c = c + 1
    print(c)
main() 
 | 
	def main():
    N = int(input())
    l = list(map(int, input().split()))
    c = 0
    for i in range(N):
        if (i + 1) % 2 == 1 and l[i] % 2 == 1:
          c = c + 1
    print(c)
main() 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516456 
 | 
	1594516563 
 | 
	0.9222194358578657 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 109 15 132 98 29 161 1 60 8 11 9 14 32
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "import copy\n\ndef main(): # (0): main=<function main>\n    N = int(input()) # (2): N=15\n    l = list(map(int, input().split())) # (3): l=[1, 3, 109, 15, 132, 98, 29, 161, 1, 60, 8, 11, 9, 14, 32]\n    c = 0 # (4): c=0\n    for i in range(N): # (5): i=0 (7): i=1 ... (39): NO CHANGE\n        if (i + 1) % 2 == 0 and l[i] % 2 == 1: # (6): NO CHANGE (8): NO CHANGE ... (38): NO CHANGE\n          c = c + 1 # (9): c=1 (14): c=2 ... (32): c=4\n    print(c)\nmain() # (1): NO CHANGE\n"
]  | 
	[
  true
]  | 
	-import copy
-
 def main():
     N = int(input())
     l = list(map(int, input().split()))
     c = 0
     for i in range(N):
-        if (i + 1) % 2 == 0 and l[i] % 2 == 1:
+        if (i + 1) % 2 == 1 and l[i] % 2 == 1:
           c = c + 1
     print(c)
 main()
 
 | 
	-import copy
-
 def main():
     N = int(input())
     l = list(map(int, input().split()))
     c = 0
     for i in range(N):
-        if (i + 1) % 2 == 0 and l[i] % 2 == 1:
           c = c + 1
     print(c)
 main()
 
 | 1 
							 | 3 
							 | 11 
							 | 
					
	u045235021 
 | 
	p02607 
 | 
	s599389435 
 | 
	s377267189 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	n =int(input())
a =list(map(int,input().split()))
cnt = 0
for i in range(n):
  
  if (i+1)%2 ==1:
    if a[i]%2 ==1:
      cnt +=1
        
print(cnt) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594723698 
 | 
	1594723773 
 | 
	0.9588926431983638 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	5
0 5 2 5 7
 
 | 
	2
 
 | 
	1
 
 | 
	[
  "n =int(input()) # (0): n=5\na =list(map(int,input().split())) # (1): a=[0, 5, 2, 5, 7]\n\n\n\ncnt = 0 # (2): cnt=0\n\nfor i in range(n): # (3): i=0 (5): i=1 ... (17): NO CHANGE\n  \n  if i%2 ==1: # (4): NO CHANGE (6): NO CHANGE ... (16): NO CHANGE\n    if a[i]%2 ==1: # (7): NO CHANGE (13): NO CHANGE\n      cnt +=1 # (8): cnt=1 (14): cnt=2\n        \nprint(cnt)"
]  | 
	[
  true
]  | 
	 n =int(input())
 a =list(map(int,input().split()))
 
 
 
 cnt = 0
 
 for i in range(n):
   
-  if i%2 ==1:
+  if (i+1)%2 ==1:
     if a[i]%2 ==1:
       cnt +=1
         
 print(cnt)
 
 | 
	 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)
 
 | 1 
							 | 1 
							 | 14 
							 | 
					
	u048176319 
 | 
	p02607 
 | 
	s563708742 
 | 
	s679426148 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
l = list(map(int, input().split()))
l1 = l[0::2]
cnt = 0
for i in l1:
    if i % 2 == 1:
        cnt += 1
print(l1) 
 | 
	n = int(input())
l = list(map(int, input().split()))
l1 = l[0::2]
cnt = 0
for i in l1:
    if i % 2 == 1:
        cnt += 1
print(cnt) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515909 
 | 
	1594515981 
 | 
	0.9716687993421478 
 | 
	[
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0
]  | 0 
							 | 102 
							 | 
	15
1 5 109 15 87 98 135 161 0 60 51 11 6 14 19
 
 | 
	[1, 109, 87, 135, 0, 51, 6, 19]
 
 | 
	6
 
 | 
	[
  "n = int(input()) # (0): n=15\nl = list(map(int, input().split())) # (1): l=[1, 5, 109, 15, 87, 98, 135, 161, 0, 60, 51, 11, 6, 14, 19]\n\nl1 = l[0::2] # (2): l1=[1, 109, 87, 135, 0, 51, 6, 19]\ncnt = 0 # (3): cnt=0\nfor i in l1: # (4): i=1 (7): i=109 ... (26): NO CHANGE\n    if i % 2 == 1: # (5): NO CHANGE (8): NO CHANGE ... (24): NO CHANGE\n        cnt += 1 # (6): cnt=1 (9): cnt=2 ... (25): cnt=6\nprint(l1)"
]  | 
	[
  true
]  | 
	 n = int(input())
 l = list(map(int, input().split()))
 
 l1 = l[0::2]
 cnt = 0
 for i in l1:
     if i % 2 == 1:
         cnt += 1
-print(l1)
+print(cnt)
 
 | 
	 n = int(input())
 l = list(map(int, input().split()))
 
 l1 = l[0::2]
 cnt = 0
 for i in l1:
     if i % 2 == 1:
         cnt += 1
-print(l1)
 
 | 1 
							 | 1 
							 | 9 
							 | 
					
	u290014241 
 | 
	p02607 
 | 
	s353243158 
 | 
	s214411240 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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=c+1
print(c) 
 | 
	N=int(input())
A=list(map(int,input().split()))
c=0
for i in range(N):
    if i%2==0 and A[i]%2==1:
        c=c+1
print(c) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515992 
 | 
	1594516115 
 | 
	0.9791194015811121 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
13 76 46 15 54 98 93 77 31 43 84 90 5 24 14
 
 | 
	3
 
 | 
	4
 
 | 
	[
  "N=int(input()) # (0): N=15\nA=list(map(int,input().split())) # (1): A=[13, 76, 46, 15, 54, 98, 93, 77, 31, 43, 84, 90, 5, 24, 14]\nc=0 # (2): c=0\nfor i in range(N): # (3): i=0 (5): i=1 ... (36): NO CHANGE\n    if i%2==1 and A[i]%2==1: # (4): NO CHANGE (6): NO CHANGE ... (35): NO CHANGE\n        c=c+1 # (11): c=1 (20): c=2 (25): c=3\nprint(c)"
]  | 
	[
  true
]  | 
	 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:
+    if i%2==0 and A[i]%2==1:
         c=c+1
 print(c)
 
 | 
	 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=c+1
 print(c)
 
 | 1 
							 | 1 
							 | 7 
							 | 
					
	u312482829 
 | 
	p02607 
 | 
	s990980464 
 | 
	s987161152 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
a = list(map(int, input().split()))
cnt = 0
for i, b in enumerate(a):
  if i % 2 == 1 and b % 2 == 1:
      cnt += 1
print(cnt) 
 | 
	n = int(input())
a = list(map(int, input().split()))
cnt = 0
for i, b in enumerate(a):
  if (i + 1) % 2 == 1 and b % 2 == 1:
      cnt += 1
print(cnt) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515991 
 | 
	1594516181 
 | 
	0.946700920779671 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 10 109 29 87 98 29 161 0 60 44 11 6 14 19
 
 | 
	3
 
 | 
	5
 
 | 
	[
  "n = int(input()) # (0): n=15\na = list(map(int, input().split())) # (1): a=[1, 10, 109, 29, 87, 98, 29, 161, 0, 60, 44, 11, 6, 14, 19]\ncnt = 0 # (2): cnt=0\n\nfor i, b in enumerate(a): # (3): i=0, b=1 (5): i=1, b=10 ... (36): NO CHANGE\n  if i % 2 == 1 and b % 2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (35): NO CHANGE\n      cnt += 1 # (11): cnt=1 (20): cnt=2 (29): cnt=3\n\nprint(cnt)"
]  | 
	[
  true
]  | 
	 n = int(input())
 a = list(map(int, input().split()))
 cnt = 0
 
 for i, b in enumerate(a):
-  if i % 2 == 1 and b % 2 == 1:
+  if (i + 1) % 2 == 1 and b % 2 == 1:
       cnt += 1
 
 print(cnt)
 
 | 
	 n = int(input())
 a = list(map(int, input().split()))
 cnt = 0
 
 for i, b in enumerate(a):
-  if i % 2 == 1 and b % 2 == 1:
       cnt += 1
 
 print(cnt)
 
 | 1 
							 | 1 
							 | 9 
							 | 
					
	u432453907 
 | 
	p02607 
 | 
	s774220184 
 | 
	s631360685 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
a = list(input().split())
a = [int(a[i]) for i in range(n)]
ans = 0
for j in range(n-1):
    if j%2 == 1 and a[j]%2 == 1:
        ans = ans + 1
print(ans)  
 | 
	n = int(input())
a = list(input().split())
a = [int(a[i]) for i in range(n)]
ans = 0
for j in range(n):
    if j%2 == 0 and a[j]%2 == 1:
        ans = ans + 1
print(ans)  
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516765 
 | 
	1594517030 
 | 
	0.9650750901540012 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 55 15 77 98 28 78 1 60 9 11 12 13 32
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "n = int(input()) # (0): n=15\na = list(input().split()) # (1): a=['1', '3', '55', '15', '77', '98', '28', '78', '1', '60', '9', '11', '12', '13', '32']\n\na = [int(a[i]) for i in range(n)] # (2): a=[1, 3, 55, 15, 77, 98, 28, 78, 1, 60, 9, 11, 12, 13, 32]\nans = 0 # (3): ans=0\nfor j in range(n-1): # (4): j=0 (6): j=1 ... (36): NO CHANGE\n    if j%2 == 1 and a[j]%2 == 1: # (5): NO CHANGE (7): NO CHANGE ... (34): NO CHANGE\n        ans = ans + 1 # (8): ans=1 (13): ans=2 ... (35): ans=4\n\nprint(ans) "
]  | 
	[
  true
]  | 
	 n = int(input())
 a = list(input().split())
 
 a = [int(a[i]) for i in range(n)]
 ans = 0
-for j in range(n-1):
-    if j%2 == 1 and a[j]%2 == 1:
+for j in range(n):
+    if j%2 == 0 and a[j]%2 == 1:
         ans = ans + 1
 
 print(ans) 
 
 | 
	 n = int(input())
 a = list(input().split())
 
 a = [int(a[i]) for i in range(n)]
 ans = 0
-for j in range(n-1):
-    if j%2 == 1 and a[j]%2 == 1:
         ans = ans + 1
 
 print(ans) 
 
 | 2 
							 | 2 
							 | 10 
							 | 
					
	u740784649 
 | 
	p02607 
 | 
	s703703593 
 | 
	s761536822 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
a = list(map(int,input().split()))
ans =[]
for i in range(len(a)):
  if i%2 == 0:
    ans.append(a[i])
    continue
  else:
    continue
print(ans)
print([i for i in ans if i % 2 != 0])
print(len([i for i in ans if i % 2 != 0])) 
 | 
	n = int(input())
a = list(map(int,input().split()))
ans =[]
for i in range(len(a)):
  if i%2 == 0:
    ans.append(a[i])
  else:
    continue
print(len([i for i in ans if i % 2 != 0])) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594517086 
 | 
	1594517128 
 | 
	0.7131991166086482 
 | 
	[
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0
]  | 0 
							 | 102 
							 | 
	5
0 5 2 5 7
 
 | 
	[0, 2, 7]
[7]
1
 
 | 
	1
 
 | 
	[
  "n = int(input()) # (0): n=5\na = list(map(int,input().split())) # (1): a=[0, 5, 2, 5, 7]\nans =[] # (2): ans=[]\n\nfor i in range(len(a)): # (3): i=0 (7): i=1 ... (21): NO CHANGE\n  if i%2 == 0: # (4): NO CHANGE (8): NO CHANGE ... (18): NO CHANGE\n    ans.append(a[i]) # (5): ans=[0] (12): ans=[0, 2] (19): ans=[0, 2, 7]\n    continue # (6): NO CHANGE (13): NO CHANGE (20): NO CHANGE\n  else:\n    continue # (9): NO CHANGE (16): NO CHANGE\nprint(ans) # (22): NO CHANGE\nprint([i for i in ans if i % 2 != 0]) # (23): NO CHANGE\nprint(len([i for i in ans if i % 2 != 0]))"
]  | 
	[
  true
]  | 
	 n = int(input())
 a = list(map(int,input().split()))
 ans =[]
 
 for i in range(len(a)):
   if i%2 == 0:
     ans.append(a[i])
-    continue
   else:
     continue
-print(ans)
-print([i for i in ans if i % 2 != 0])
+
 print(len([i for i in ans if i % 2 != 0]))
 
 | 
	 n = int(input())
 a = list(map(int,input().split()))
 ans =[]
 
 for i in range(len(a)):
   if i%2 == 0:
     ans.append(a[i])
-    continue
   else:
     continue
-print(ans)
-print([i for i in ans if i % 2 != 0])
 print(len([i for i in ans if i % 2 != 0]))
 
 | 1 
							 | 3 
							 | 13 
							 | 
					
	u730807152 
 | 
	p02607 
 | 
	s771516673 
 | 
	s475530138 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	n=map(int,input().split())
a=list(map(int,input().split()))
 
N=0
new_a=a[::2]
 
for i in new_a:
    if i%2==0:
        N += 1
 
print(len(new_a)-N) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594596444 
 | 
	1594650047 
 | 
	0.9324546615733577 
 | 
	[
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  1,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  1
]  | 17 
							 | 102 
							 | 
	15
1 3 111 15 000 98 14 78 1 60 15 13 12 13 54
 
 | 
	7
 
 | 
	4
 
 | 
	[
  "n=map(int,input().split()) # (0): n=<map object at 0x0000020EDFB4CDC0>\na=list(map(int,input().split())) # (1): a=[1, 3, 111, 15, 0, 98, 14, 78, 1, 60, 15, 13, 12, 13, 54]\n\nN=0 # (2): N=0\nnew_a=a[1::2] # (3): new_a=[3, 15, 98, 78, 60, 13, 13]\n\nfor i in new_a: # (4): i=3 (6): i=15 ... (18): NO CHANGE\n    if i%22==0: # (5): NO CHANGE (7): NO CHANGE ... (17): NO CHANGE\n        N += 1\n\nprint(len(new_a)-N)"
]  | 
	[
  true
]  | 
	 n=map(int,input().split())
 a=list(map(int,input().split()))
-
+ 
 N=0
-new_a=a[1::2]
-
+new_a=a[::2]
+ 
 for i in new_a:
-    if i%22==0:
+    if i%2==0:
         N += 1
-
+ 
 print(len(new_a)-N)
 
 | 
	 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)
 
 | 5 
							 | 5 
							 | 11 
							 | 
					
	u855710796 
 | 
	p02607 
 | 
	s009677548 
 | 
	s349613610 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N = int(input())
A = list(map(int, input().split()))
cnt = 0
for i in range(N):
    if i % 2 == 0:
        continue
    if A[i] % 2 == 1:
        cnt += 1
print(cnt) 
 | 
	N = int(input())
A = list(map(int, input().split()))
cnt = 0
for i in range(N):
    if i % 2 == 1:
        continue
    if A[i] % 2 == 1:
        cnt += 1
print(cnt) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515738 
 | 
	1594515790 
 | 
	0.9849156258720441 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
13 76 46 15 54 98 93 77 31 43 84 90 5 24 14
 
 | 
	3
 
 | 
	4
 
 | 
	[
  "N = int(input()) # (0): N=15\nA = list(map(int, input().split())) # (1): A=[13, 76, 46, 15, 54, 98, 93, 77, 31, 43, 84, 90, 5, 24, 14]\n\ncnt = 0 # (2): cnt=0\n\nfor i in range(N): # (3): i=0 (6): i=1 ... (51): NO CHANGE\n    if i % 2 == 0: # (4): NO CHANGE (7): NO CHANGE ... (49): NO CHANGE\n        continue # (5): NO CHANGE (11): NO CHANGE ... (50): NO CHANGE\n    if A[i] % 2 == 1: # (8): NO CHANGE (14): NO CHANGE ... (47): NO CHANGE\n        cnt += 1 # (15): cnt=1 (28): cnt=2 (35): cnt=3\n\nprint(cnt)"
]  | 
	[
  true
]  | 
	 N = int(input())
 A = list(map(int, input().split()))
 
 cnt = 0
 
 for i in range(N):
-    if i % 2 == 0:
+    if i % 2 == 1:
         continue
     if A[i] % 2 == 1:
         cnt += 1
 
 print(cnt)
 
 | 
	 N = int(input())
 A = list(map(int, input().split()))
 
 cnt = 0
 
 for i in range(N):
-    if i % 2 == 0:
         continue
     if A[i] % 2 == 1:
         cnt += 1
 
 print(cnt)
 
 | 1 
							 | 1 
							 | 12 
							 | 
					
	u277104886 
 | 
	p02607 
 | 
	s330561438 
 | 
	s260229107 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
a = list(map(int, input().split()))
la = a[1::2]
ans = 0
for i in la:
    if i%2 == 1:
        ans += 1
print(ans) 
 | 
	n = int(input())
a = list(map(int, input().split()))
la = a[::2]
ans = 0
for i in la:
    if i%2 == 1:
        ans += 1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516198 
 | 
	1594516272 
 | 
	0.9809339541107623 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
13 76 46 15 50 70 93 77 31 12 44 90 6 24 14
 
 | 
	2
 
 | 
	3
 
 | 
	[
  "n = int(input()) # (0): n=15\na = list(map(int, input().split())) # (1): a=[13, 76, 46, 15, 50, 70, 93, 77, 31, 12, 44, 90, 6, 24, 14]\n\nla = a[1::2] # (2): la=[76, 15, 70, 77, 12, 90, 24]\nans = 0 # (3): ans=0\n\nfor i in la: # (4): i=76 (6): i=15 ... (20): NO CHANGE\n    if i%2 == 1: # (5): NO CHANGE (7): NO CHANGE ... (19): NO CHANGE\n        ans += 1 # (8): ans=1 (13): ans=2\nprint(ans)"
]  | 
	[
  true
]  | 
	 n = int(input())
 a = list(map(int, input().split()))
 
-la = a[1::2]
+la = a[::2]
 ans = 0
 
 for i in la:
     if i%2 == 1:
         ans += 1
 print(ans)
 
 | 
	 n = int(input())
 a = list(map(int, input().split()))
 
-la = a[1::2]
 ans = 0
 
 for i in la:
     if i%2 == 1:
         ans += 1
 print(ans)
 
 | 1 
							 | 1 
							 | 10 
							 | 
					
	u457032048 
 | 
	p02607 
 | 
	s428944378 
 | 
	s169852671 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	n = int(input())
l = list(map(int,input().split()))
count = 0
for i in range(n):
  if i%2==0 and l[i]%2!=0:
    count = count + 1
print(count) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594521047 
 | 
	1594521500 
 | 
	0.7659427245704336 
 | 
	[
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0
]  | 0 
							 | 102 
							 | 
	15
15 5 71 15 50 98 135 87 0 43 44 11 6 24 11
 
 | 
	[15, 71, 135, 11]
 
 | 
	4
 
 | 
	[
  "n = int(input()) # (0): n=15\nl = list(map(int,input().split())) # (1): l=[15, 5, 71, 15, 50, 98, 135, 87, 0, 43, 44, 11, 6, 24, 11]\nm = [] # (2): m=[]\nfor i in range(n): # (3): i=0 (6): i=1 ... (37): NO CHANGE\n  if i%2==0 and l[i]%2!=0: # (4): NO CHANGE (7): NO CHANGE ... (35): NO CHANGE\n    m.append(l[i]) # (5): m=[15] (10): m=[15, 71] ... (36): m=[15, 71, 135, 11]\n\nprint(m)"
]  | 
	[
  true
]  | 
	 n = int(input())
 l = list(map(int,input().split()))
-m = []
+count = 0
 for i in range(n):
   if i%2==0 and l[i]%2!=0:
-    m.append(l[i])
+    count = count + 1
 
-print(m)
+print(count)
 
 | 
	 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)
 
 | 3 
							 | 3 
							 | 8 
							 | 
					
	u396210538 
 | 
	p02607 
 | 
	s839424710 
 | 
	s292683666 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	from sys import stdin
import sys
N = int(input())
a = list(map(int, input().split()))
cnt = 0
for i, v in enumerate(a):
    if i % 2 == 1 and v % 2 == 1:
        cnt += 1
print(cnt)
 
 | 
	from sys import stdin
import sys
N = int(input())
a = list(map(int, input().split()))
cnt = 0
for i, v in enumerate(a):
    
    if (i+1) % 2 == 1 and v % 2 == 1:
        cnt += 1
print(cnt)
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515774 
 | 
	1594515851 
 | 
	0.9408633812715419 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
13 76 46 15 50 98 93 77 31 43 84 90 5 24 14
 
 | 
	3
 
 | 
	4
 
 | 
	[
  "from sys import stdin\nimport sys\n\nN = int(input()) # (0): N=15\na = list(map(int, input().split())) # (1): a=[13, 76, 46, 15, 50, 98, 93, 77, 31, 43, 84, 90, 5, 24, 14]\ncnt = 0 # (2): cnt=0\nfor i, v in enumerate(a): # (3): i=0, v=13 (5): i=1, v=76 ... (36): NO CHANGE\n    if i % 2 == 1 and v % 2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (35): NO CHANGE\n        cnt += 1 # (11): cnt=1 (20): cnt=2 (25): cnt=3\nprint(cnt)\n"
]  | 
	[
  true
]  | 
	 from sys import stdin
 import sys
 
 N = int(input())
 a = list(map(int, input().split()))
 cnt = 0
 for i, v in enumerate(a):
-    if i % 2 == 1 and v % 2 == 1:
+    
+    if (i+1) % 2 == 1 and v % 2 == 1:
         cnt += 1
 print(cnt)
 
 
 | 
	 from sys import stdin
 import sys
 
 N = int(input())
 a = list(map(int, input().split()))
 cnt = 0
 for i, v in enumerate(a):
-    if i % 2 == 1 and v % 2 == 1:
         cnt += 1
 print(cnt)
 
 
 | 2 
							 | 1 
							 | 11 
							 | 
					
	u607685130 
 | 
	p02607 
 | 
	s367298896 
 | 
	s576987563 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	N = int(input())
a = list(map(int, input().split()))
count = 0
for i in range(0,N,2):
  jd = a[i]
  if jd % 2 == 1:
    count += 1
print(count) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594622532 
 | 
	1594622785 
 | 
	0.6563174312487738 
 | 
	[
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0
]  | 1 
							 | 102 
							 | 
	15
13 76 46 15 50 98 93 77 31 43 84 90 6 24 14
 
 | 
	0 13
6 93
8 31
3
 
 | 
	3
 
 | 
	[
  "N = int(input()) # (0): N=15\na = [] # (1): a=[]\na = input().split() # (2): a=['13', '76', '46', '15', '50', '98', '93', '77', '31', '43', '84', '90', '6', '24', '14']\n\ncount = 0 # (3): count=0\n\nfor i in range(int(N/2)): # (4): i=0 (10): i=1 ... (38): NO CHANGE\n  cd = 2 * i # (5): cd=0 (11): cd=2 ... (35): cd=12\n  jd = int(a[cd]) # (6): jd=13 (12): jd=46 ... (36): jd=6\n  if jd % 2 == 1: # (7): NO CHANGE (13): NO CHANGE ... (37): NO CHANGE\n    count += 1 # (8): count=1 (22): count=2 (28): count=3\n    print(cd, jd) # (9): NO CHANGE (23): NO CHANGE (29): NO CHANGE\n    \n\nprint(count)"
]  | 
	[
  true
]  | 
	 N = int(input())
-a = []
-a = input().split()
+a = list(map(int, input().split()))
 
 count = 0
 
-for i in range(int(N/2)):
-  cd = 2 * i
-  jd = int(a[cd])
+for i in range(0,N,2):
+  jd = a[i]
   if jd % 2 == 1:
     count += 1
-    print(cd, jd)
-    
 
 print(count)
 
 | 
	 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)
 
 | 3 
							 | 7 
							 | 15 
							 | 
					
	u473092610 
 | 
	p02607 
 | 
	s178944801 
 | 
	s458997982 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n=int(input())
a=[int(i) for i in input().split()]
ans=0
for i in range(n):
    if(a[i]%2==1 and i%2==1):
        ans+=1
print(ans) 
 | 
	n=int(input())
a=[int(i) for i in input().split()]
ans=0
for i in range(n):
    if(a[i]%2==1 and (i+1)%2==1):
        ans+=1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594517498 
 | 
	1594517561 
 | 
	0.9533712800220776 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	5
0 5 2 5 7
 
 | 
	2
 
 | 
	1
 
 | 
	[
  "n=int(input()) # (0): n=5\na=[int(i) for i in input().split()] # (1): a=[0, 5, 2, 5, 7]\nans=0 # (2): ans=0\nfor i in range(n): # (3): i=0 (5): i=1 ... (15): NO CHANGE\n    if(a[i]%2==1 and i%2==1): # (4): NO CHANGE (6): NO CHANGE ... (14): NO CHANGE\n        ans+=1 # (7): ans=1 (12): ans=2\n\nprint(ans)"
]  | 
	[
  true
]  | 
	 n=int(input())
 a=[int(i) for i in input().split()]
 ans=0
 for i in range(n):
-    if(a[i]%2==1 and i%2==1):
+    if(a[i]%2==1 and (i+1)%2==1):
         ans+=1
 
 print(ans)
 
 | 
	 n=int(input())
 a=[int(i) for i in input().split()]
 ans=0
 for i in range(n):
-    if(a[i]%2==1 and i%2==1):
         ans+=1
 
 print(ans)
 
 | 1 
							 | 1 
							 | 8 
							 | 
					
	u679089074 
 | 
	p02607 
 | 
	s442516314 
 | 
	s580641739 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	
N =  int(input())
a = list(map(int,input().split()))
cou = 0
for i in range(N):
    if i %2 == 1 and a[i] %2 ==1:
        cou += 1
print(cou)
         
 | 
	
N =  int(input())
a = list(map(int,input().split()))
cou = 0
for i in range(N):
    if (i+1) %2 == 1 and a[i] %2 ==1:
        cou += 1
print(cou)
         
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515983 
 | 
	1594516068 
 | 
	0.9596881843578158 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 5 71 15 50 98 93 87 0 43 44 11 6 24 11
 
 | 
	5
 
 | 
	4
 
 | 
	[
  "\nN =  int(input()) # (0): N=15\na = list(map(int,input().split())) # (1): a=[15, 5, 71, 15, 50, 98, 93, 87, 0, 43, 44, 11, 6, 24, 11]\ncou = 0 # (2): cou=0\n\nfor i in range(N): # (3): i=0 (5): i=1 ... (38): NO CHANGE\n    if i %2 == 1 and a[i] %2 ==1: # (4): NO CHANGE (6): NO CHANGE ... (37): NO CHANGE\n        cou += 1 # (7): cou=1 (12): cou=2 ... (31): cou=5\n\nprint(cou)\n        "
]  | 
	[
  true
]  | 
	 
 N =  int(input())
 a = list(map(int,input().split()))
 cou = 0
 
 for i in range(N):
-    if i %2 == 1 and a[i] %2 ==1:
+    if (i+1) %2 == 1 and a[i] %2 ==1:
         cou += 1
 
 print(cou)
         
 
 | 
	 
 N =  int(input())
 a = list(map(int,input().split()))
 cou = 0
 
 for i in range(N):
-    if i %2 == 1 and a[i] %2 ==1:
         cou += 1
 
 print(cou)
         
 
 | 1 
							 | 1 
							 | 11 
							 | 
					
	u587518324 
 | 
	p02607 
 | 
	s313636805 
 | 
	s768866059 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	
def main():
    N = int(input())
    As = list(map(int, input().split()))
    ans = 0
    for i in range(N):
        if i % 2 != 0 and As[i] % 2 != 0:
            ans += 1
    print('{}'.format(ans))
if __name__ == '__main__':
    main()
 
 | 
	
def main():
    N = int(input())
    As = list(map(int, input().split()))
    ans = 0
    for i in range(N):
        if (i + 1) % 2 != 0 and As[i] % 2 != 0:
            ans += 1
    print('{}'.format(ans))
if __name__ == '__main__':
    main()
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516215 
 | 
	1594516317 
 | 
	0.9678854241608693 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	5
0 5 4 5 7
 
 | 
	2
 
 | 
	1
 
 | 
	[
  "\n\n\n\ndef main(): # (0): main=<function main>\n    N = int(input())\n    As = list(map(int, input().split()))\n\n    ans = 0\n    for i in range(N):\n        if i % 2 != 0 and As[i] % 2 != 0:\n            ans += 1\n    print('{}'.format(ans))\n\n\nif __name__ == '__main__':\n    main()\n"
]  | 
	[
  true
]  | 
	 
 
 
 
 def main():
     N = int(input())
     As = list(map(int, input().split()))
 
     ans = 0
     for i in range(N):
-        if i % 2 != 0 and As[i] % 2 != 0:
+        if (i + 1) % 2 != 0 and As[i] % 2 != 0:
             ans += 1
     print('{}'.format(ans))
 
 
 if __name__ == '__main__':
     main()
 
 
 | 
	 
 
 
 
 def main():
     N = int(input())
     As = list(map(int, input().split()))
 
     ans = 0
     for i in range(N):
-        if i % 2 != 0 and As[i] % 2 != 0:
             ans += 1
     print('{}'.format(ans))
 
 
 if __name__ == '__main__':
     main()
 
 
 | 1 
							 | 1 
							 | 18 
							 | 
					
	u609176437 
 | 
	p02607 
 | 
	s123244835 
 | 
	s659045402 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n=int(input())
li=list(map(int,input().split()))
ans=0
for i in range(n):
  if li[i]%2!=0 and i%2 != 0 : ans+=1
print(ans) 
 | 
	n=int(input())
li=list(map(int,input().split()))
ans=0
for i in range(n):
  if li[i]%2 != 0 and (i+1)%2 != 0 : ans+=1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516636 
 | 
	1594516747 
 | 
	0.913764831391254 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 11 46 15 50 98 93 77 31 43 44 11 6 24 14
 
 | 
	5
 
 | 
	3
 
 | 
	[
  "n=int(input()) # (0): n=15\nli=list(map(int,input().split())) # (1): li=[15, 11, 46, 15, 50, 98, 93, 77, 31, 43, 44, 11, 6, 24, 14]\nans=0 # (2): ans=0\n\nfor i in range(n): # (3): i=0 (5): i=1 ... (33): NO CHANGE\n  if li[i]%2!=0 and i%2 != 0 : ans+=1 # (4): NO CHANGE (6): ans=1 ... (32): NO CHANGE\n\nprint(ans)"
]  | 
	[
  true
]  | 
	 n=int(input())
 li=list(map(int,input().split()))
 ans=0
 
 for i in range(n):
-  if li[i]%2!=0 and i%2 != 0 : ans+=1
+  if li[i]%2 != 0 and (i+1)%2 != 0 : ans+=1
 
 print(ans)
 
 | 
	 n=int(input())
 li=list(map(int,input().split()))
 ans=0
 
 for i in range(n):
-  if li[i]%2!=0 and i%2 != 0 : ans+=1
 
 print(ans)
 
 | 1 
							 | 1 
							 | 8 
							 | 
					
	u200916944 
 | 
	p02607 
 | 
	s686514562 
 | 
	s147568440 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N, *A = map(int, open(0).read().split())
cnt = 0
for i in range(1, N, 2):
    if A[i] % 2 == 1:
        cnt += 1
print(cnt)
 
 | 
	N, *A = map(int, open(0).read().split())
cnt = 0
for i in range(0, N, 2):
    if A[i] % 2 == 1:
        cnt += 1
print(cnt)
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594519098 
 | 
	1594520458 
 | 
	0.9794625309141647 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 5 109 15 87 98 29 39 0 60 44 11 6 14 19
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "注释代码执行超时"
]  | 
	[
  false
]  | 
	 N, *A = map(int, open(0).read().split())
 cnt = 0
-for i in range(1, N, 2):
+for i in range(0, N, 2):
     if A[i] % 2 == 1:
         cnt += 1
 print(cnt)
 
 
 | 
	 N, *A = map(int, open(0).read().split())
 cnt = 0
-for i in range(1, N, 2):
     if A[i] % 2 == 1:
         cnt += 1
 print(cnt)
 
 
 | 1 
							 | 1 
							 | 7 
							 | 
					
	u038620042 
 | 
	p02607 
 | 
	s255759654 
 | 
	s339517856 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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 != 0:
        ans += 1
print(ans) 
 | 
	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 != 0):
        ans += 1
print(ans) 
 | 
	PyPy3 (7.3.0) 
 | 
	PyPy3 (7.3.0) 
 | 
	1594516005 
 | 
	1594516218 
 | 
	0.9092313448694048 
 | 
	[
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0
]  | 0 
							 | 102 
							 | 
	15
0 5 46 15 50 98 93 87 31 43 44 11 6 24 14
 
 | 
	7
 
 | 
	2
 
 | 
	[
  "n = int(input()) # (0): n=15\na = list(map(int, input().split())) # (1): a=[0, 5, 46, 15, 50, 98, 93, 87, 31, 43, 44, 11, 6, 24, 14]\nans = 0 # (2): ans=0\nfor i in range(n): # (3): i=0 (5): i=1 ... (40): NO CHANGE\n    if i+1 % 2 != 0 and a[i] % 2 != 0: # (4): NO CHANGE (6): NO CHANGE ... (39): NO CHANGE\n        ans += 1 # (7): ans=1 (12): ans=2 ... (33): ans=7\nprint(ans)"
]  | 
	[
  true
]  | 
	 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 != 0:
+    if ((i+1) % 2 != 0) and (a[i] % 2 != 0):
         ans += 1
 print(ans)
 
 | 
	 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 != 0:
         ans += 1
 print(ans)
 
 | 1 
							 | 1 
							 | 7 
							 | 
					
	u464819941 
 | 
	p02607 
 | 
	s162263395 
 | 
	s176331810 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N = int(input())
a = list(map(int, input().split()))
count = 0;
for i in range(0,N):
  if i % 2 == 1:
    if a[i] % 2 == 1:
      count = count+1
print(count) 
 | 
	N = int(input())
a = list(map(int, input().split()))
count = 0;
for i in range(0,N):
  if i % 2 == 0:
    if a[i] % 2 == 1:
      count = count + 1
print(count) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516608 
 | 
	1594517318 
 | 
	0.958713361591921 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 109 15 132 98 29 161 1 60 8 11 9 14 32
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "N = int(input()) # (0): N=15\na = list(map(int, input().split())) # (1): a=[1, 3, 109, 15, 132, 98, 29, 161, 1, 60, 8, 11, 9, 14, 32]\ncount = 0; # (2): count=0\nfor i in range(0,N): # (3): i=0 (5): i=1 ... (44): NO CHANGE\n  if i % 2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (43): NO CHANGE\n    if a[i] % 2 == 1: # (7): NO CHANGE (13): NO CHANGE ... (41): NO CHANGE\n      count = count+1 # (8): count=1 (14): count=2 ... (36): count=4\nprint(count)"
]  | 
	[
  true
]  | 
	 N = int(input())
 a = list(map(int, input().split()))
 count = 0;
 for i in range(0,N):
-  if i % 2 == 1:
+  if i % 2 == 0:
     if a[i] % 2 == 1:
-      count = count+1
+      count = count + 1
 print(count)
 
 | 
	 N = int(input())
 a = list(map(int, input().split()))
 count = 0;
 for i in range(0,N):
-  if i % 2 == 1:
     if a[i] % 2 == 1:
-      count = count+1
 print(count)
 
 | 2 
							 | 2 
							 | 8 
							 | 
					
	u078349616 
 | 
	p02607 
 | 
	s122480198 
 | 
	s355029395 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N = int(input())
A = list(map(int, input().split()))
ans = 0
for i in range(N):
    if i % 2 == 1:
        if A[i] % 2 == 1:
            ans += 1
print(ans) 
 | 
	N = int(input())
A = list(map(int, input().split()))
ans = 0
for i in range(1, N+1):
    if i % 2 == 1:
        if A[i-1] % 2 == 1:
            ans += 1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515815 
 | 
	1594515871 
 | 
	0.9335913807661628 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 10 109 15 87 98 29 161 0 60 44 11 9 14 19
 
 | 
	3
 
 | 
	6
 
 | 
	[
  "N = int(input()) # (0): N=15\nA = list(map(int, input().split())) # (1): A=[1, 10, 109, 15, 87, 98, 29, 161, 0, 60, 44, 11, 9, 14, 19]\n\nans = 0 # (2): ans=0\nfor i in range(N): # (3): i=0 (5): i=1 ... (43): NO CHANGE\n    if i % 2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (42): NO CHANGE\n        if A[i] % 2 == 1: # (7): NO CHANGE (12): NO CHANGE ... (40): NO CHANGE\n            ans += 1 # (13): ans=1 (24): ans=2 (35): ans=3\nprint(ans)"
]  | 
	[
  true
]  | 
	 N = int(input())
 A = list(map(int, input().split()))
 
 ans = 0
-for i in range(N):
+for i in range(1, N+1):
     if i % 2 == 1:
-        if A[i] % 2 == 1:
+        if A[i-1] % 2 == 1:
             ans += 1
 print(ans)
 
 | 
	 N = int(input())
 A = list(map(int, input().split()))
 
 ans = 0
-for i in range(N):
     if i % 2 == 1:
-        if A[i] % 2 == 1:
             ans += 1
 print(ans)
 
 | 2 
							 | 2 
							 | 9 
							 | 
					
	u133583235 
 | 
	p02607 
 | 
	s812372118 
 | 
	s339192432 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N = int(input())
a = list(map(int, input().split()))
cnt = 0
for i in range (N):
  if i % 2 != 0:
    if a[i] %2 != 0:
      cnt += 1
      
print(cnt) 
 | 
	N = int(input())
a = list(map(int, input().split()))
cnt = 0
for i in range (N):
  if (i+1) % 2 != 0:
    if a[i] %2 != 0:
      cnt += 1
      
print(cnt) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516213 
 | 
	1594516349 
 | 
	0.9594264480658873 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 5 109 15 171 98 135 87 0 60 44 11 6 14 19
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "N = int(input()) # (0): N=15\na = list(map(int, input().split())) # (1): a=[15, 5, 109, 15, 171, 98, 135, 87, 0, 60, 44, 11, 6, 14, 19]\ncnt = 0 # (2): cnt=0\n\nfor i in range (N): # (3): i=0 (5): i=1 ... (44): NO CHANGE\n  if i % 2 != 0: # (4): NO CHANGE (6): NO CHANGE ... (43): NO CHANGE\n    if a[i] %2 != 0: # (7): NO CHANGE (13): NO CHANGE ... (41): NO CHANGE\n      cnt += 1 # (8): cnt=1 (14): cnt=2 ... (36): cnt=4\n      \nprint(cnt)"
]  | 
	[
  true
]  | 
	 N = int(input())
 a = list(map(int, input().split()))
 cnt = 0
 
 for i in range (N):
-  if i % 2 != 0:
+  if (i+1) % 2 != 0:
     if a[i] %2 != 0:
       cnt += 1
       
 print(cnt)
 
 | 
	 N = int(input())
 a = list(map(int, input().split()))
 cnt = 0
 
 for i in range (N):
-  if i % 2 != 0:
     if a[i] %2 != 0:
       cnt += 1
       
 print(cnt)
 
 | 1 
							 | 1 
							 | 10 
							 | 
					
	u086503932 
 | 
	p02607 
 | 
	s479840987 
 | 
	s785116939 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	
import sys
from collections import deque, Counter
from heapq import heappop, heappush
from bisect import bisect_right
from itertools import accumulate
sys.setrecursionlimit(10**6)
INF = 10**12
m = 10**9 + 7
def main():
    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)
if __name__ == "__main__":
    main()
 
 | 
	
import sys
from collections import deque, Counter
from heapq import heappop, heappush
from bisect import bisect_right
from itertools import accumulate
sys.setrecursionlimit(10**6)
INF = 10**12
m = 10**9 + 7
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 == 1:
            ans += 1
    print(ans)
if __name__ == "__main__":
    main()
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515713 
 | 
	1594515779 
 | 
	0.9942095322112 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 109 15 87 98 29 258 0 60 44 11 9 14 32
 
 | 
	3
 
 | 
	5
 
 | 
	[
  "\nimport sys\nfrom collections import deque, Counter\nfrom heapq import heappop, heappush\nfrom bisect import bisect_right\nfrom itertools import accumulate\n\nsys.setrecursionlimit(10**6) # (0): NO CHANGE\nINF = 10**12 # (1): INF=1000000000000\nm = 10**9 + 7 # (2): m=1000000007\n\ndef main(): # (3): main=<function main>\n    N = int(input())\n    a = list(map(int, input().split()))\n    ans = 0\n    for i in range(N):\n        if i % 2 == 1 and a[i] % 2 == 1:\n            ans += 1\n    print(ans)\n\nif __name__ == \"__main__\":\n    main()\n"
]  | 
	[
  true
]  | 
	 
 import sys
 from collections import deque, Counter
 from heapq import heappop, heappush
 from bisect import bisect_right
 from itertools import accumulate
 
 sys.setrecursionlimit(10**6)
 INF = 10**12
 m = 10**9 + 7
 
 def main():
     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:
+        if i % 2 == 0 and a[i] % 2 == 1:
             ans += 1
     print(ans)
 
 if __name__ == "__main__":
     main()
 
 
 | 
	 
 import sys
 from collections import deque, Counter
 from heapq import heappop, heappush
 from bisect import bisect_right
 from itertools import accumulate
 
 sys.setrecursionlimit(10**6)
 INF = 10**12
 m = 10**9 + 7
 
 def main():
     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)
 
 if __name__ == "__main__":
     main()
 
 
 | 1 
							 | 1 
							 | 23 
							 | 
					
	u866374539 
 | 
	p02607 
 | 
	s109494330 
 | 
	s940086373 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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) 
 | 
	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 == 1:
    c+=1
print(c) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594670943 
 | 
	1594671496 
 | 
	0.869494765551568 
 | 
	[
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0
]  | 0 
							 | 102 
							 | 
	15
1 3 109 15 87 98 29 258 0 60 44 11 9 14 32
 
 | 
	12
 
 | 
	5
 
 | 
	[
  "n=int(input()) # (0): n=15\na=list(map(int,input().split())) # (1): a=[1, 3, 109, 15, 87, 98, 29, 258, 0, 60, 44, 11, 9, 14, 32]\n\nc=0 # (2): c=0\n\nfor i in range(0,n): # (3): i=0 (6): i=1 ... (45): NO CHANGE\n  if i%2!=0 or a[i]%2!=0: # (4): NO CHANGE (7): NO CHANGE ... (44): NO CHANGE\n    c+=1 # (5): c=1 (8): c=2 ... (42): c=12\nprint(c)"
]  | 
	[
  true
]  | 
	 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:
+  if i%2 == 0 and a[i]%2 == 1:
     c+=1
 print(c)
 
 | 
	 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)
 
 | 1 
							 | 1 
							 | 9 
							 | 
					
	u934868410 
 | 
	p02607 
 | 
	s408644110 
 | 
	s077096195 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
a = list(map(int,input().split()))
ans = 0
for i in range(n):
    if a[i] % 2 == i % 2 == 1:
        ans += 1
print(ans) 
 | 
	n = int(input())
a = list(map(int,input().split()))
ans = 0
for i in range(n):
    if a[i] % 2 == (i+1) % 2 == 1:
        ans += 1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516141 
 | 
	1594516215 
 | 
	0.9550484487492619 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	5
1 4 4 7 7
 
 | 
	1
 
 | 
	2
 
 | 
	[
  "n = int(input()) # (0): n=5\na = list(map(int,input().split())) # (1): a=[1, 4, 4, 7, 7]\nans = 0 # (2): ans=0\nfor i in range(n): # (3): i=0 (5): i=1 ... (14): NO CHANGE\n    if a[i] % 2 == i % 2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (13): NO CHANGE\n        ans += 1 # (11): ans=1\nprint(ans)"
]  | 
	[
  true
]  | 
	 n = int(input())
 a = list(map(int,input().split()))
 ans = 0
 for i in range(n):
-    if a[i] % 2 == i % 2 == 1:
+    if a[i] % 2 == (i+1) % 2 == 1:
         ans += 1
 print(ans)
 
 | 
	 n = int(input())
 a = list(map(int,input().split()))
 ans = 0
 for i in range(n):
-    if a[i] % 2 == i % 2 == 1:
         ans += 1
 print(ans)
 
 | 1 
							 | 1 
							 | 7 
							 | 
					
	u004312392 
 | 
	p02607 
 | 
	s488957470 
 | 
	s566355208 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N = int(input())
A = list(map(int,input().split()))
count = 0
for i in range(N):
    if A[i] % 2 != 0 and i%2!=0:
        count += 1
print(count) 
 | 
	N = int(input())
A = list(map(int,input().split()))
count = 0
for i in range(N):
    if A[i] % 2 != 0 and (i+1)%2!=0:
        count += 1
print(count) 
 | 
	PyPy3 (7.3.0) 
 | 
	PyPy3 (7.3.0) 
 | 
	1594515833 
 | 
	1594516628 
 | 
	0.9574945784830355 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 5 71 15 50 98 93 87 0 43 44 11 6 24 14
 
 | 
	5
 
 | 
	3
 
 | 
	[
  "N = int(input()) # (0): N=15\nA = list(map(int,input().split())) # (1): A=[15, 5, 71, 15, 50, 98, 93, 87, 0, 43, 44, 11, 6, 24, 14]\ncount = 0 # (2): count=0\nfor i in range(N): # (3): i=0 (5): i=1 ... (38): NO CHANGE\n    if A[i] % 2 != 0 and i%2!=0: # (4): NO CHANGE (6): NO CHANGE ... (37): NO CHANGE\n        count += 1 # (7): count=1 (12): count=2 ... (31): count=5\nprint(count)"
]  | 
	[
  true
]  | 
	 N = int(input())
 A = list(map(int,input().split()))
 count = 0
 for i in range(N):
-    if A[i] % 2 != 0 and i%2!=0:
+    if A[i] % 2 != 0 and (i+1)%2!=0:
         count += 1
 print(count)
 
 | 
	 N = int(input())
 A = list(map(int,input().split()))
 count = 0
 for i in range(N):
-    if A[i] % 2 != 0 and i%2!=0:
         count += 1
 print(count)
 
 | 1 
							 | 1 
							 | 7 
							 | 
					
	u068538925 
 | 
	p02607 
 | 
	s027518243 
 | 
	s210354055 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
in_list = list(map(int,input().split()))
cnt = 0
for i in range(1,n+1):
    if i%2 == 0:
        if in_list[i-1]%2 == 0:
            cnt += 1
    elif i%2 == 1:
        if in_list[i-1]%2 == 1:
            cnt += 1
print(cnt) 
 | 
	n = int(input())
in_list = list(map(int,input().split()))
cnt = 0
for i in range(1,n+1):
    if i%2 == 1:
        if in_list[i-1]%2 == 1:
            cnt += 1
print(cnt) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516578 
 | 
	1594516708 
 | 
	0.653093154969842 
 | 
	[
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1
]  | 5 
							 | 102 
							 | 
	15
1 3 55 15 000 98 28 78 1 60 9 13 12 13 54
 
 | 
	7
 
 | 
	4
 
 | 
	[
  "n = int(input()) # (0): n=15\nin_list = list(map(int,input().split())) # (1): in_list=[1, 3, 55, 15, 0, 98, 28, 78, 1, 60, 9, 13, 12, 13, 54]\ncnt = 0 # (2): cnt=0\nfor i in range(1,n+1): # (3): i=1 (8): i=2 ... (63): NO CHANGE\n    if i%2 == 0: # (4): NO CHANGE (9): NO CHANGE ... (60): NO CHANGE\n        if in_list[i-1]%2 == 0: # (10): NO CHANGE (18): NO CHANGE ... (58): NO CHANGE\n            cnt += 1 # (26): cnt=3 (34): cnt=4 (43): cnt=6\n    elif i%2 == 1: # (5): NO CHANGE (13): NO CHANGE ... (61): NO CHANGE\n        if in_list[i-1]%2 == 1: # (6): NO CHANGE (14): NO CHANGE ... (62): NO CHANGE\n            cnt += 1 # (7): cnt=1 (15): cnt=2 ... (48): cnt=7\nprint(cnt)"
]  | 
	[
  true
]  | 
	 n = int(input())
 in_list = list(map(int,input().split()))
 cnt = 0
 for i in range(1,n+1):
-    if i%2 == 0:
-        if in_list[i-1]%2 == 0:
-            cnt += 1
-    elif i%2 == 1:
+    if i%2 == 1:
         if in_list[i-1]%2 == 1:
             cnt += 1
 print(cnt)
 
 | 
	 n = int(input())
 in_list = list(map(int,input().split()))
 cnt = 0
 for i in range(1,n+1):
-    if i%2 == 0:
-        if in_list[i-1]%2 == 0:
-            cnt += 1
-    elif i%2 == 1:
         if in_list[i-1]%2 == 1:
             cnt += 1
 print(cnt)
 
 | 1 
							 | 4 
							 | 11 
							 | 
					
	u750822433 
 | 
	p02607 
 | 
	s114734668 
 | 
	s109894956 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N=int(input())
a=[0]*N
a=list(map(int,input().split()))
ans=0
for i in range(1,N+5,2):
    if(N-1<i):
        break
    if(a[i]%2==1):
        ans=ans+1
print(ans)
 
 | 
	N=int(input())
a=[0]*N
a=list(map(int,input().split()))
ans=0
for i in range(1,N+5,2):
    if(N<i):
        break
    if(a[i-1]%2==1):
        ans=ans+1
print(ans) 
 | 
	PyPy3 (7.3.0) 
 | 
	PyPy3 (7.3.0) 
 | 
	1594516058 
 | 
	1594516163 
 | 
	0.9676175620836059 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 55 15 113 98 28 78 1 60 9 11 12 13 32
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "注释代码执行超时"
]  | 
	[
  false
]  | 
	 N=int(input())
 
 a=[0]*N
 a=list(map(int,input().split()))
 ans=0
 for i in range(1,N+5,2):
-    if(N-1<i):
+    if(N<i):
         break
-    if(a[i]%2==1):
+    if(a[i-1]%2==1):
         ans=ans+1
 print(ans)
-
 
 | 
	 N=int(input())
 
 a=[0]*N
 a=list(map(int,input().split()))
 ans=0
 for i in range(1,N+5,2):
-    if(N-1<i):
         break
-    if(a[i]%2==1):
         ans=ans+1
 print(ans)
-
 
 | 2 
							 | 3 
							 | 12 
							 | 
					
	u364693468 
 | 
	p02607 
 | 
	s140376300 
 | 
	s034956682 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N = int(input())
a = list(map(int,input().split()))
cnt = 0
for i in range(N - 1):
    if (i + 1) % 2 == 1 and a[i + 1] % 2 ==1:
            cnt += 1
    else:
            cnt += 0
print(str(cnt)) 
 | 
	N = int(input())
a = list(map(int,input().split()))
cnt = 0
for i in range(N + 1):
    if i % 2 == 1 and a[i - 1] % 2 ==1:
            cnt += 1
    else:
            cnt += 0
print(str(cnt)) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594517096 
 | 
	1594517433 
 | 
	0.9493521925539935 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	5
0 5 2 5 7
 
 | 
	2
 
 | 
	1
 
 | 
	[
  "N = int(input()) # (0): N=5\na = list(map(int,input().split())) # (1): a=[0, 5, 2, 5, 7]\ncnt = 0 # (2): cnt=0\nfor i in range(N - 1): # (3): i=0 (6): i=1 ... (15): NO CHANGE\n    if (i + 1) % 2 == 1 and a[i + 1] % 2 ==1: # (4): NO CHANGE (7): NO CHANGE ... (13): NO CHANGE\n            cnt += 1 # (5): cnt=1 (11): cnt=2\n    else:\n            cnt += 0 # (8): NO CHANGE (14): NO CHANGE\nprint(str(cnt))"
]  | 
	[
  true
]  | 
	 N = int(input())
 a = list(map(int,input().split()))
 cnt = 0
-for i in range(N - 1):
-    if (i + 1) % 2 == 1 and a[i + 1] % 2 ==1:
+for i in range(N + 1):
+    if i % 2 == 1 and a[i - 1] % 2 ==1:
             cnt += 1
     else:
             cnt += 0
 print(str(cnt))
 
 | 
	 N = int(input())
 a = list(map(int,input().split()))
 cnt = 0
-for i in range(N - 1):
-    if (i + 1) % 2 == 1 and a[i + 1] % 2 ==1:
             cnt += 1
     else:
             cnt += 0
 print(str(cnt))
 
 | 2 
							 | 2 
							 | 9 
							 | 
					
	u425317134 
 | 
	p02607 
 | 
	s501949867 
 | 
	s888024901 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
lst = list(map(int, input().split()))
c = 0
for i in range(n):
  if i % 2 == 1:
    if lst[i] % 2 == 1:
      c += 1
print(c)
 
 | 
	n = int(input())
lst = list(map(int, input().split()))
c = 0
for i in range(n):
  if i % 2 == 0:
    if lst[i] % 2 == 1:
      c += 1
print(c) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594516327 
 | 
	1594516507 
 | 
	0.9753908715442751 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 11 46 15 50 98 93 129 31 43 44 11 6 24 14
 
 | 
	5
 
 | 
	3
 
 | 
	[
  "注释代码执行超时"
]  | 
	[
  false
]  | 
	 n = int(input())
 lst = list(map(int, input().split()))
 
 c = 0
 for i in range(n):
-  if i % 2 == 1:
+  if i % 2 == 0:
     if lst[i] % 2 == 1:
       c += 1
 print(c)
-
 
 | 
	 n = int(input())
 lst = list(map(int, input().split()))
 
 c = 0
 for i in range(n):
-  if i % 2 == 1:
     if lst[i] % 2 == 1:
       c += 1
 print(c)
-
 
 | 1 
							 | 2 
							 | 10 
							 | 
					
	u524513264 
 | 
	p02607 
 | 
	s190584291 
 | 
	s197387778 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	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)
 
 | 
	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)
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1595369148 
 | 
	1595369553 
 | 
	0.9471027742207366 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 55 15 77 98 28 78 1 60 9 13 12 13 32
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "input() # (0): NO CHANGE\nli = list(map(int, input().split())) # (1): li=[1, 3, 55, 15, 77, 98, 28, 78, 1, 60, 9, 13, 12, 13, 32]\nresult = 0 # (2): result=0\nfor i in range(len(li)): # (3): i=0 (5): i=1 ... (44): NO CHANGE\n    if i % 2 == 1: # (4): NO CHANGE (6): NO CHANGE ... (43): NO CHANGE\n        if li[i] % 2 == 1: # (7): NO CHANGE (13): NO CHANGE ... (40): NO CHANGE\n            result += 1 # (8): result=1 (14): result=2 ... (41): result=4\nprint(result)\n"
]  | 
	[
  true
]  | 
	 input()
 li = list(map(int, input().split()))
 result = 0
 for i in range(len(li)):
-    if i % 2 == 1:
+    if (i + 1) % 2 == 1:
         if li[i] % 2 == 1:
             result += 1
 print(result)
 
+
 
 | 
	 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)
 
 
 | 2 
							 | 1 
							 | 9 
							 | 
					
	u971811058 
 | 
	p02607 
 | 
	s548086106 
 | 
	s911450533 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n = int(input())
a = list(map(int, input().split()))
ans = 0
for i in range(len(a)):
    if a[i]%2 != 0 and i%2 != 0: ans+=1
print(ans) 
 | 
	n = int(input())
a = list(map(int, input().split()))
ans = 0
for i in range(len(a)):
    if a[i]%2 != 0 and (i+1)%2 != 0: ans+=1
print(ans) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594515836 
 | 
	1594515961 
 | 
	0.9543922737675911 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 109 15 87 98 29 161 0 60 44 11 9 14 32
 
 | 
	4
 
 | 
	5
 
 | 
	[
  "注释代码执行超时"
]  | 
	[
  false
]  | 
	 n = int(input())
 a = list(map(int, input().split()))
 ans = 0
 for i in range(len(a)):
-    if a[i]%2 != 0 and i%2 != 0: ans+=1
+    if a[i]%2 != 0 and (i+1)%2 != 0: ans+=1
 print(ans)
 
 | 
	 n = int(input())
 a = list(map(int, input().split()))
 ans = 0
 for i in range(len(a)):
-    if a[i]%2 != 0 and i%2 != 0: ans+=1
 print(ans)
 
 | 1 
							 | 1 
							 | 6 
							 | 
					
	u084411645 
 | 
	p02607 
 | 
	s596280226 
 | 
	s939173048 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	print(sum([int(i)%2 for i in input().split()[::2]]))
 
 | 
	input()
print(sum([int(i)%2 for i in input().split()[::2]]))
 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1595739442 
 | 
	1595739527 
 | 
	0.8654950248827114 
 | 
	[
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0
]  | 4 
							 | 102 
							 | 
	15
1 3 110 15 000 98 7 78 1 60 9 13 12 13 54
 
 | 
	1
 
 | 
	4
 
 | 
	[
  "print(sum([int(i)%2 for i in input().split()[::2]]))\n"
]  | 
	[
  true
]  | 
	+input()
 print(sum([int(i)%2 for i in input().split()[::2]]))
 
 
 | 
	 print(sum([int(i)%2 for i in input().split()[::2]]))
 
 
 | 1 
							 | 0 
							 | 2 
							 | 
					
	u631638943 
 | 
	p02607 
 | 
	s268677661 
 | 
	s319450422 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	N = int(input())
a = list(map(int,input().split()))
count=0
for i in range(N):
    if(i%2==1):
        if(a[i]%2==1):
            count+=1
print(count) 
 | 
	N = int(input())
a1 = [0]
a = a1+list(map(int,input().split()))
count=0
for i in range(1,N+1):
    if(i%2==1):
        if(a[i]%2==1):
            
            count+=1
print(count) 
 | 
	Python (3.8.2) 
 | 
	Python (3.8.2) 
 | 
	1594517782 
 | 
	1594518042 
 | 
	0.8059745401968408 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
1 3 55 7 77 98 28 78 1 60 9 11 9 13 32
 
 | 
	4
 
 | 
	6
 
 | 
	[
  "注释代码执行超时"
]  | 
	[
  false
]  | 
	 N = int(input())
-a = list(map(int,input().split()))
+a1 = [0]
+a = a1+list(map(int,input().split()))
 count=0
-for i in range(N):
+for i in range(1,N+1):
     if(i%2==1):
         if(a[i]%2==1):
+            
             count+=1
+
 print(count)
 
 | 
	 N = int(input())
-a = list(map(int,input().split()))
 count=0
-for i in range(N):
     if(i%2==1):
         if(a[i]%2==1):
             count+=1
 print(count)
 
 | 5 
							 | 2 
							 | 8 
							 | 
					
	u121921603 
 | 
	p02607 
 | 
	s121259700 
 | 
	s922291548 
 | 
	Wrong Answer 
 | 
	Accepted 
 | 
	n= int(input())
a=list(map(int,input().split()))
cnt=0
for i, A in enumerate(a):
    if i%2==1 and A%2==1:
        cnt+=1
print(cnt) 
 | 
	n= int(input())
a=list(map(int,input().split()))
cnt=0
for i, A in enumerate(a):
    if (i+1)%2==1 and A%2==1:
        cnt+=1
print(cnt) 
 | 
	PyPy3 (7.3.0) 
 | 
	PyPy3 (7.3.0) 
 | 
	1594516059 
 | 
	1594516111 
 | 
	0.9533712800220776 
 | 
	[
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  1,
  0,
  0,
  1,
  0,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
  1,
  0,
  1,
  1,
  1,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  0,
  0,
  0,
  0,
  1,
  0,
  0,
  0,
  1,
  1
]  | 21 
							 | 102 
							 | 
	15
15 11 82 15 50 98 93 77 31 43 44 11 6 24 14
 
 | 
	5
 
 | 
	3
 
 | 
	[
  "注释代码执行超时"
]  | 
	[
  false
]  | 
	 n= int(input())
 a=list(map(int,input().split()))
 cnt=0
 for i, A in enumerate(a):
-    if i%2==1 and A%2==1:
+    if (i+1)%2==1 and A%2==1:
         cnt+=1
 print(cnt)
 
 | 
	 n= int(input())
 a=list(map(int,input().split()))
 cnt=0
 for i, A in enumerate(a):
-    if i%2==1 and A%2==1:
         cnt+=1
 print(cnt)
 
 | 1 
							 | 1 
							 | 7 
							 | 
					
End of preview. 
	
			Subsets and Splits
				
	
				
			
				
No community queries yet
The top public SQL queries from the community will appear here once available.