Var
a:array[1..10] of integer;
i, j:integer;
begin
randomize();
for i:= 1 to 10 do
begin
a[i] := random(1000);
if (a[i] mod 2 = 1) then
inc(a[i]);
end;
for i := 1 to 10 do
for j:= i to 10 do
if a[i] > a[j] then swap(a[i],a[j]);
for i := 1 to 10 do
Write(a[i], ' ');
end.