Clear the bay!
As the project to supply carrot juice bypassing Krylandia progresses, and various countermeasures are still in development, the essential carrot juice with a hint of pine flavor is being delivered by sea using specially equipped barges.
During the unloading of one such barge, an unusual incident occurred—most of the juice spilled into the sea during the transfer from the barge to the shore, for reasons that remain unclear. This poses two major concerns: firstly, the breakdown of the juice into its components and its settling on the seabed could cause an environmental disaster. Secondly, payment is still required for the lost juice, as it was already delivered to the port and unloading had commenced.
However, there is some good news. Firstly, the spill was quickly detected and contained by surrounding the affected area with a special net, shaped as a convex polygon. Secondly, due to its physicochemical properties, the spilled juice is a homogeneous liquid with excellent fluidity and is less dense than seawater. As a result, it currently forms a uniform layer on the water's surface.
Krylandian engineers have calculated that if a suction pump hose is placed at the center of mass of the spill, the juice can be efficiently removed before it begins to settle on the seabed, thanks to its excellent fluidity.
Your task is to determine the coordinates of this point, after which the command "Clear the bay!" will be issued, successfully averting an environmental disaster for Krylandia.
Input
The first line contains the number of vertices of the enclosing net, n (3 ≤ n ≤ 250). The following n lines provide the vertices of the polygon, x_i and y_i (|x_i|, |y_i| ≤ 1000), in the order they are traversed. The input data is guaranteed to be correct, meaning the polygon is convex.
Output
Output the x-coordinate of the point for connecting the hose to pump out the spilled juice on the first line, and the y-coordinate on the second line. The answer must be precise to at least 3 decimal places.