const n=20;
var a:array[1..n] of integer;
i,k: integer;
begin
for i:=1 to n do
a[i]:=random(101);
if a[i] mod 2 <> 0 then k:=k+1;
write (a[i],' ')
end;
writeln;
writeln(k)
end.
const n=20;
var a:array[1..n] of integer;
i,k: integer;
begin
for i:=1 to n do
begin
a[i]:=random(101);
if a[i] mod 2 <> 0 then k:=k+1;
write (a[i],' ')
end;
writeln;
writeln(k)
end.