FUCT_FOR_ARROW - Right arrow

no tags 

Enter any positive integer that describes the height of arrow. Print out the right arrow.

Example

The right arrow that has 5 rows is:

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

Input

Contain the height of right arrow.

Constraints

  • 2 < n ≤ 100

Output

Print out the right arrow.

Example

Input 1:
5

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

Output 2:
accept positive integer greater than 2 only!

hide comments
Simes: 2023-06-30 09:11:48

if the user enters a number greater than 100, is there an error message we're supposed to give?


Added by:khanhvh
Date:2018-07-10
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All
Resource:FPTU Can Tho