Rancher Joel has a tract of land in the shape of a convex quadrilateral that he wants to divide among his sons Al, Bob, Chas, and Dave, who wish to continue ranching on their portions, and his daughter Emily, who wants to grow vegetables on her portion.
The center of the tract is most suitable for vegetable farming, so Joel decides to divide the land by drawing lines from each corner (, , , in counterclockwise order) to the center of the opposing side (respectively A', B', C', and D'). Each son will receive one of the triangular sections, and Emily will receive the central quadrilateral section. As shown in the figure, Al's tract is bounded by the line from to , the line from to the midpoint of , and the line from to the midpoint of CD'. Bob's tract is bounded by the line from to , the line from to the midpoint of , and the line from to the midpoint of , and so on.

Your task is to write a program that will help Rancher Joel determine the area of each child's tract and the length of the fence he will have to put around Emily's parcel to keep her brothers' cows out of her crops.
For this problem, will always be at and will always be at . Coordinates will be in rods (one rod is feet). The returned areas should be in acres to decimal places (an acre is square rods), and the length of the fence should be in feet, rounded up to the next foot.
The first line of input contains a single integer (1 \leq P \leq 1000), which is the number of data sets that follow. Each data set is a single line that consists of a decimal integer followed by five () space-separated floating-point values. The first (integer) value is the data set number, . The floating-point values are , , , , and in that order (where indicates the coordinate of and indicates the coordinate of ). Recall that the coordinate of is always zero (). The supplied coordinates will always specify a valid convex quadrilateral.
For each data set, there is a single line of output. It contains the data set number, , followed by a single space, followed by five () space-separated floating-point values to three () decimal places, followed by a single space and a decimal integer. The floating-point values are the areas in acres of the properties of Al, Bob, Chas, Dave, and Emily, respectively. The final integer is the length of the fence in feet required to enclose Emily's property (rounded up to the next foot).
Example 1