program HelloWorld;
var res,i,z: integer;
begin
for i:=4 downto 0 do
for z:=5 downto 1 do
res := 0;
if i div z > 0 then res := 1;
write(res);
write(' ');
end;
writeln('');
end.
program HelloWorld;
var res,i,z: integer;
begin
for i:=4 downto 0 do
begin
for z:=5 downto 1 do
begin
res := 0;
if i div z > 0 then res := 1;
write(res);
write(' ');
end;
writeln('');
end;
end.