program fantscrin;
const n = 10;
var a: array [1..n] of integer;
i,s:integer;
Begin
for i:=1 to n do
a[i]:= random(11)+1;
for i:=1 to n do
write(a[i], ' ');
p:=1;
for i:=1 to n do
if (i mod 2 <> 0) then
begin
p:=p*a[i];
write(a[i], ' ');
end;
writeln('');
writeln('Произведение = ',p);
End.