Problem1752--打印幸运树(20分)

1752: 打印幸运树(20分)

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

新年快到了,小南想打印一些高度为2n+1的幸运树。幸运树的树冠高度为n+1,树干的高度为n,由“*”组成,你能帮帮他吗?

Input

多个样例。每个样例包含一个正整数n(1≤n≤50)

Output

每个样例输出一个满足条件的幸运树,不同样例输出结果之间没有空行。

Sample Input Copy

1
3

Sample Output Copy

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

HINT

   

Source/Category