Jeroen made a new algorithm for checking if a point is inside a polygon:
Given a simple polygon $$$\bf{p}_0, \bf{p}_1 \dots \bf{p}_{n-1} $$$ and a query point $$$\bf{q}$$$, his algorithm does the following:
Note that two polygons $$$\bf{a}$$$ and $$$\bf{b}$$$ are considered the same polygon if the point list of $$$\bf{a}$$$ is a cyclic rotation of the points of $$$\bf{b}$$$. Two polygons are also considered the same, if the reversed point list of $$$\bf{a}$$$ is a cyclic rotation of $$$\bf{b}$$$. So in these cases, only one of $$$\bf{a}$$$ and $$$\bf{b}$$$ is included in the infinite list. Note that although placing an extra integer point on one of the edges of a polygon produces the same shape, this will be counted as a different polygon.
The only line of input contains the integer $$$k$$$ ($$$1 \leq k \leq 1000$$$) — the number of polygons you should output.
For the first $$$k$$$ polygons for which Jeroen's algorithm fails, in sorted order of area, output a description:
On the first line of the description, output $$$n$$$, the number of vertices of the polygon.
On each of the next $$$n$$$ lines, output $$$2$$$ integers, $$$x$$$ and $$$y$$$ ( $$$|x|,|y| \leq 10^9$$$), the coordinates of the vertices of the polygon.
Under the constraints of the problem, it can be proven that if the smallest areas of the first $$$k$$$ valid polygons are $$$A_1 \leq A_2 \leq \dots \leq A_k$$$, then ensuring the additional constraint that the coordinates do not exceed $$$10^9$$$ in absolute value, does not change this list of areas.
Note that polygons in the output have to be simple polygons.
2
4 -1 0 0 1 1 0 0 -1 3 0 -4 3 5 -3 5
The output for the sample input is actually wrong. It is only to show the output format. These two polygons both have the point $$$(0,0)$$$ inside, but Jeroen's algorithm does not fail, and their areas are not guaranteed to be the smallest possible $$$2$$$ areas.
| Name |
|---|


