Closed-circuit television (CCTV), also known as video surveillance, is the use of video cameras to transmit a signal to a specific place, on a limited set of monitors. They are widely used for security purposes.
Next week, there will be an exhibition of famous Renaissance artwork. The exhibition room has a rectangular form with the lower left corner at (0, 0) and the upper right corner at (X, Y). In 4 corners of the room, CCTVs are used to surveillance every moves of every visitors. Inside this room, N impressive artworks are placed in glass cases. These glass cases are all rectangular shape with edges parallel to the walls; the lower left corner is at (X1i, Y1i) and the upper right corner is at (X2i, Y2i). A CCTV can track any point if the direct line from the point to the CCTV is not blocked by some case.
Given the shape of the exhibition room, the position and shape of all the cases, your task is to calculate the track-able area of 4 CCTV.
The input starts with T (T ≤ 20) - the number of tests. Then T tests follow. Each test is formatted as:
For each test, you should print 2 lines:
1
4 4
2
1 1 2 2
1 3 3 4
4.666667 6.833333
8.250000 9.666667
The layout of the exhibition room in the example:

The track-able area of CCTVs: 
| Name |
|---|


