Program FindMin;
uses crt;
var
a:array[1..15] of integer;
min,i:integer;
begin
for i:=1 to 15 do begin
a[i]:=random(9);
Write(a[i],' ');
end;
for i:=1 to 15 do
if a[i] mod 2 = 0 then
a[i]:=a[i]+1
else
a[i]:=a[i]*2;
Writeln;
for i:=1 to 15 do begin
Write(a[i],' ');
end;
end.