Center of Masses#1502

Center of Masses

1 second
128 megabytes
Very easy

Find the center of mass of a convex polygon carved from wood.

Input

The input consists of multiple test cases. Each test case begins with the integer (n \le 100), the number of vertices of the polygon. This is followed by pairs of integers, each pair representing the and coordinates of a vertex (in any order). The last polygon has n < 3 vertices and should not be processed.

Output

For each polygon, output a single line containing the coordinates and of its center of mass, each rounded to three decimal places.

Examples

Example 1

Loading
Loading