1328: 输出数字金字塔

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:55 Solved:10

Description

根据要求的行数,输出数字金字塔。 

样例输出有点问题,每个数字占位两个 

      1 

   2 3 4

5 6 7 8 9

Input

一个整数n,表示几行(不超过9行)。

Output

n行的金字塔数阵。

Sample Input Copy

3

Sample Output Copy

        1
    2 3 4
5 6 7 8 9