FUCT_FOR_PYRAMID - Star pyramid

Enter any positive integer that describes the height of star pyramid. Print out the star pyramid.

Example

The star pyramid that has 5 rows is:

        *
      * * *
    * * * * *
  * * * * * * *
* * * * * * * * *

Input

Contain the height of star pyramid.

Constraints

  • 0 < n ≤ 1 00

Output

Print out the star pyramid.

Example

Input 1:
5

Output 1:
        *
      * * *
    * * * * *
  * * * * * * *
* * * * * * * * *
Input 2:
2

Output 2:
  *
* * *

Added by:khanhvh
Date:2018-07-10
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:C NCSHARP C++ 4.3.2 CPP CPP14 CPP14-CLANG JULIA PYTHON PYPY3
Resource:FPTU Can Tho

© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.