Construct a matrix of $$$n$$$ rows and $$$n$$$ columns, satisfying all the following constraints:
There is only one test case in each test file.
The first and only line of the input contains one integer $$$n$$$ ($$$2\leq n\leq 50$$$) indicating the size of the matrix.
If it is possible to construct such a matrix, first output Yes in one line. Then output $$$n$$$ lines where the $$$i$$$-th line contains $$$n$$$ integers $$$a_{i, 1}, a_{i, 2}, \cdots, a_{i, n}$$$ ($$$1 \le a_{i, j} \le 2n$$$) separated by a space, where $$$a_{i, j}$$$ is the element in the $$$i$$$-th row and the $$$j$$$-th column. If there are multiple valid answers, you can output any of them.
If it is impossible to construct such a matrix, just output No in one line.
2
Yes 1 2 3 4
3
Yes 3 2 6 4 3 3 3 1 5
| Name |
|---|


