Uses crt;
Var mas:array[1..12]of integer;
a:integer;
Begin
randomize;
for a:=1 to 12 do
begin
mas[a]:=random(11)+1;
end;
For a:=1 to 12 do
begin
Write(mas[a]:1,' ');
end;
for a:=1 to 12 do
begin
if (mas[a] mod 2 =0) then mas[a]:=sqr(mas[a]);
end;
Writeln();
For a:=1 to 12 do
begin
Write(mas[a]:1,' ');
end;
Writeln();
end.