input "vvedite kolichestvo chisel ",n
for i=1 to n
input"vvedite chislo ",a
if i mod 2=0 and a mod 2=1 then k=k+1
next
print k
input "vvedite kolichestvo chisel ",n
for i=1 to n
input"vvedite chislo ",a
if i mod 2=0 and a mod 2=1 then k=k+1
next
print k