{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003ch2\u003eProblem I\n \n\u003c/h2\u003e\n\n\u003cp\u003e\nYou are asked to find a polygon that satisfies all the following conditions, given two integers, $x_{bb}$ and $y_{bb}$.\n\u003c/p\u003e\n\u003cul\u003e\n \u003cli\u003e The number of vertices is either 3 or 4.\u003c/li\u003e\n \u003cli\u003e Edges of the polygon do not intersect nor overlap with other edges, i.e., they do not share any points with other edges except for their endpoints.\u003c/li\u003e\n \u003cli\u003e The $x$- and $y$-coordinates of each vertex are integers. \u003c/li\u003e\n \u003cli\u003e The $x$-coordinate of each vertex is between 0 and $x_{bb}$, inclusive. Similarly, the $y$-coordinate is between 0 and $y_{bb}$, inclusive.\u003c/li\u003e\n \u003cli\u003e At least one vertex has its $x$-coordinate 0.\u003c/li\u003e\n \u003cli\u003e At least one vertex has its $x$-coordinate $x_{bb}$.\u003c/li\u003e\n \u003cli\u003e At least one vertex has its $y$-coordinate 0.\u003c/li\u003e\n \u003cli\u003e At least one vertex has its $y$-coordinate $y_{bb}$.\u003c/li\u003e\n \u003cli\u003e \u003cb\u003eThe area of the polygon does not exceed 25000.\u003c/b\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003cp\u003e\n The polygon may be non-convex.\n \u003c/p\u003e\n\n\n\u003ch3\u003eInput\u003c/h3\u003e\n\n\u003cp\u003e\n The input consists of multiple test cases. The first line of the input contains an integer $n$, which is the number of the test cases ($1 \\leq n \\leq 10^5$). Each of the following $n$ lines contains a test case formatted as follows.\u003cbr\u003e\n \u003cbr\u003e\n $x_{bb}$ $y_{bb}$\u003cbr\u003e\n \u003cbr\u003e\n $x_{bb}$ and $y_{bb}$ ($2 \\leq x_{bb} \\leq 10^9, 2 \\leq y_{bb} \\leq 10^9$) are integers stated above.\n \u003c/p\u003e\n\n\n\n\u003ch3\u003eOutput\u003c/h3\u003e\n\n\u003cp\u003e\n For each test case, output description of one polygon satisfying the conditions stated above, in the following format.\u003cbr\u003e\n \u003cbr\u003e\n$v$\u003cbr\u003e\n$x_1$ $y_1$\u003cbr\u003e\n. \u003cbr\u003e\n. \u003cbr\u003e\n. \u003cbr\u003e\n$x_v$ $y_v$\u003cbr\u003e\n\u003c/p\u003e\n\n\u003cp\u003e\nHere, $v$ is the number of vertices, and each pair of $x_i$ and $y_i$ gives the coordinates of the $i$-th vertex, $(x_i, y_i)$. The first vertex $(x_1, y_1)$ can be chosen arbitrarily, and the rest should be listed either in clockwise or in counterclockwise order.\n\u003c/p\u003e\n\n\u003cp\u003e\nWhen more than one polygon satisfies the conditions, any one of them is acceptable. You can prove that, with the input values ranging as stated above, there is at least one polygon satisfying the conditions.\n\u003c/p\u003e\n\n\u003ch3\u003eSample Input 1\u003c/h3\u003e\n\n\u003cpre\u003e2\n5 6\n1000000000 2\u003c/pre\u003e\n\n\u003ch3\u003eSample Output 1\u003c/h3\u003e\n\n\u003cpre\u003e4\n5 6\n0 6\n0 0\n5 0\n3\n1000000000 0\n0 2\n999999999 0\u003c/pre\u003e\n\n"}}]}