class Four {
  public static void main(String[] args) {
    int size = Integer.parseInt(args[0]);
    for (int row = 0; row < size; row++) {
      for (int col = 0; col < size; col++) {
        if (row + col == size / 2 ||
            row == size/2 && col <= 2 * size / 3 ||
            col == size/2 && row >= size / 3) {
          System.out.print("* ");
        } else {
          System.out.print("  ");
        }
      }
      System.out.println();
    }
  }
}