program son;
var
i,n:integer;
a:array[1..32000] of integer;
begin
write(' nhap n : '); readln(n);
for i:= 1 to n do
begin
write(' nhap a[',i,']');
readln(a[i]);
end;
for i:= 1 to n do
if a[i] mod 2 <> 0 then write(a[i],' ')
readln
end.
Program hotrotinhoc ;
var n,i : integer ;
begin
write('Nhap gia tri cua n:'); readln(n);
i:=1;
while i <= n do
begin
i:=i+2 ;
if i mod 2 = 1 then write(i);
end;
readln
end.