Given 'n', print the symbol 'Z' spanning n rows using '*' symbol.
Value of n>2 and n ≤ 20.

Example:
1) Input : n=3
Output:
***
 *
***

2) Input n=4
Output:
****
  *
 *
****

SAMPLE INPUT
5

SAMPLE OUTPUT
*****
   *
  *
 *
*****

Explanation

The 'Z' is printed across 5 lines as shown above.
import sys
num=input()
for _ in range(num):sys.stdout.write("*")
print ''
for i in range(num-2):
	for j in range(num-i-2):sys.stdout.write(" ")
	print '*'
for _ in range(num):sys.stdout.write("*")