const
Count = 3;
var a : array [1..Count] of Integer;
i, b, c: Integer;
begin
Writeln('Введите числа:');
for i := 1 to Count do
begin
Write(i ,': ');
Readln( a[i] );
end;
for i := 1 to Count do
for b := 1 to Count do
if a[i] < a[b] then
begin
c := a[i];
a[i] := a[b];
a[b] := c;
end;
for i := 1 to Count do
Write (a[i], ' ');
end.