PROGRAMMING:Yanghui triangle
Remember the Yanghui triangle I learned in middle school? The specific definition will not be described here. You can refer to the following figure:
one
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
###Input format:
The input data contains multiple test cases, and the input of each test case only contains a positive integer n (1 < = n < = 30), which represents the number of layers of Yang Hui triangle to be output.
###Output format:
For each input, please output Yang Hui triangle with corresponding number of layers. The integers of each layer are separated by a space, and a blank line is added after each Yang Hui triangle.
###Input example:
Here is a set of inputs. For example:
```in
two
three
```
###Output example:
The corresponding output is given here. For example:
```out
one
1 1
one
1 1
1 2 1
```
answer:If there is no answer, please comment
one
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
###Input format:
The input data contains multiple test cases, and the input of each test case only contains a positive integer n (1 < = n < = 30), which represents the number of layers of Yang Hui triangle to be output.
###Output format:
For each input, please output Yang Hui triangle with corresponding number of layers. The integers of each layer are separated by a space, and a blank line is added after each Yang Hui triangle.
###Input example:
Here is a set of inputs. For example:
```in
two
three
```
###Output example:
The corresponding output is given here. For example:
```out
one
1 1
one
1 1
1 2 1
```
answer:If there is no answer, please comment