var n,i:integer;

BEGIN
 
  writeln('write n');
  readln(n);
  for i:=1 to n-1 do write(' ');
  writeln('*');
  for i:=1 to n-2 do write(' ');
  writeln('* *');
  for i:=1 to n-3 do write(' ');
  writeln('*   *');
  for i:=1 to n-2 do write(' ');
  writeln('* *');
  for i:=1 to n-1 do write(' ');
  writeln('*');
  {Diapozon u mebja ot 3 do 77}

end.