program fantscrin;
const n = 15;
var a: array [1..n] of integer;
i,max,max_i:integer;
Begin
for i:=1 to n do
a[i]:= random(51);
write(a[i], ' ');
writeln('');
if (i mod 2 <> 0) then write(a[i], ' ');
End.
program fantscrin;
const n = 15;
var a: array [1..n] of integer;
i,max,max_i:integer;
Begin
for i:=1 to n do
a[i]:= random(51);
for i:=1 to n do
write(a[i], ' ');
writeln('');
for i:=1 to n do
if (i mod 2 <> 0) then write(a[i], ' ');
End.