Task
Two players, called Alunelu and Bocuțu, have luckily landed in Lucky Landing and have to loot the region.
We know that the path followed by each of the two players is a strictly convex polygon. Determine any two paths that the two players can follow such that they intersect in exactly points.
More formally, you are given a positive integer .
Determine any two strictly convex polygons and which satisfy the following constraints:
- Both and must have between and vertices.
- The vertices of both and must have integer coordinates which do not exceed in absolute value.
- There are exactly points which belong to both of the polygons' contours.
Input data
The first line of input contains a single integer () - the desired number of intersections between the two polygons.
Output data
On the first line, print the number of vertices () of the first polygon.
On each of the next lines, print two integers and () - the coordinates of the -th vertex from the first polygon.
On the next line, print the number of vertices () of the second polygon.
On each of the next lines, print two integers and () - the coordinates of the -th vertex from the second polygon.
Additionally, for each polygon:
- The points must be given in either clockwise or anti-clockwise order.
- No three consecutive points should be collinear.
- The points must, in the order they are given, be the vertices of a non-intersecting convex polygon.
Example 1
stdin
3
stdout
5
2 2
3 1
4 1
4 3
3 3
6
1 2
2 1
3 1
4 2
3 3
2 3
Explanation
The polygons from the first example are pictured as follows:
Example 2
stdin
4
stdout
4
1 1
1 5
5 5
5 1
3
1 1
7 3
3 7
Explanation
The polygons from the second example are pictured as follows: