There are mutiple test cases, the number of which is no more than 10. For each test case:
The first line of input contains two integers $n$ and $m$ $(3\leq n, m\leq10^5)$, which represent the number of vertices of the base polygon of A and B respectively.
Following input $n$ lines, each line has $2$ real numbers, representing the vertex coordinates $(x, y) (-100\leq x, y\leq100)$ of the base polygon of A.
Following input $m$ lines, each line has $2$ real numbers, representing the vertex coordinates $(y, z) (-100\leq y, z\leq100)$ of the base polygon of B.
The input guarantees that the vertices of each polygon are given in clockwise or counterclockwise order. Numbers in the same line are separated by spaces. For more detailed input information, please see the sample.