1723: 【入门】输出杨辉三角的前N行

Memory Limit:16 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:3 Solved:3

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