var n,m,i,j:integer;
begin
write('m=');readln(m);
write('n=');readln(n);
for i:=1 to n do
begin
for j:=1 to m do
write(j);
writeln;
end;
readln;
end.
var n,m,i,j:integer;
begin
write('a=');readln(a);
write('b=');readln(b);
for i:=1 to n do
begin
for j:=1 to m do
write(j);
writeln;
end;
readln;
end.