2242: 输出杨辉三角的前N行

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:48 Solved:0

Description

输出杨辉三角的前N行(N<10)。


Input

输入只有一行,包括1个整数N。(N<10)


Output

输出只有N行.


Sample Input Copy

5

Sample Output Copy

1
1 1
1 2 1
1 3 3 1
1 4 6 4 1

Source/Category