This page is still under construction.

Parts of this page are still being built. What you see may change.

Star pattern 22

Time limit1sMemory limit256 MB

Level

Not classified yet

Solved
No attempts yet

Problem

Work out the rule for drawing the stars from the sample inputs and outputs, then print the stars that the rule gives.

Input

The first line contains NN (1≤N≤1001 \le N \le 100).

Output

Print the picture the rule gives, line by line, starting from the first line. Spaces at the end of a line are ignored when judging.

Examples4

  1. Example 1

    Input
    1
    
    Expected output
    *
    
  2. Example 2

    Input
    2
    
    Expected output
    *****
    *
    * ***
    * * *
    * * *
    *   *
    *****
    
  3. Example 3

    Input
    3
    
    Expected output
    *********
    *
    * *******
    * *     *
    * * *** *
    * * * * *
    * * * * *
    * *   * *
    * ***** *
    *       *
    *********
    
  4. Example 4

    Input
    4
    
    Expected output
    *************
    *
    * ***********
    * *         *
    * * ******* *
    * * *     * *
    * * * *** * *
    * * * * * * *
    * * * * * * *
    * * *   * * *
    * * ***** * *
    * *       * *
    * ********* *
    *           *
    *************