program UniqueNumbers;
vari, j, k: integer;
beginfor i := 1 to 9 dofor j := 0 to 9 dofor k := 0 to 9 doif (i <> j) and (i <> k) and (j <> k) thenwriteln(i 100 + j 10 + k);end.
program UniqueNumbers;
var
i, j, k: integer;
begin
for i := 1 to 9 do
for j := 0 to 9 do
for k := 0 to 9 do
if (i <> j) and (i <> k) and (j <> k) then
writeln(i 100 + j 10 + k);
end.