const n=10;
var i:integer;
a:array[1..n] of integer;
begin
for i:=1 to n do
a[i]:=random(100);
write(a[i]:3,' ');
if a[i] mod 10 = 0 then a[i]:=a[i] div 10
else a[i]:=a[i]*10
end;
writeln;
for i:=1 to n do write(a[i]:3,' ')
end.
const n=10;
var i:integer;
a:array[1..n] of integer;
begin
for i:=1 to n do
begin
a[i]:=random(100);
write(a[i]:3,' ');
if a[i] mod 10 = 0 then a[i]:=a[i] div 10
else a[i]:=a[i]*10
end;
writeln;
for i:=1 to n do write(a[i]:3,' ')
end.