var n:integer;
begin
for n:1 to n do
begin;
read A[n];
if n mod 2=0 then
if A[n] mod 2=1 then
writeln(A[n]);
end;
end.
var n:integer;
begin
for n:1 to n do
begin;
read A[n];
if n mod 2=0 then
if A[n] mod 2=1 then
writeln(A[n]);
end;
end.