===== PascalABC.NET =====
begin
var n := ReadInteger('n =');
for var i := 1 to n do
for var j := 1 to n do
if j > i then
Print(i)
else
Print(j);
Writeln
end;
end.
===== PascalABC.NET =====
begin
var n := ReadInteger('n =');
for var i := 1 to n do
begin
for var j := 1 to n do
if j > i then
Print(i)
else
Print(j);
Writeln
end;
end.