Dorm Room Divide
면접 대비시간 제한1초메모리 제한1024 MB
볼록 다각형과 첫 번째 꼭짓점에 있는 문이 주어질 때, 문에서 시작하는 선분이 다각형 넓이를 정확히 절반으로 나누도록 경계 위의 점을 구한다.
문제
Bob and Alice are roommates at the International College of Polygonal Chambers (ICPC). To avoid conflict, they've agreed to divide their dorm room in half---as closely as possible. However, the room is shaped so irregularly that they need your help!

Each dorm room is a convex polygon, with a single entrance. You need to figure out how to divide this room in half (by area) using a single straight line starting at the door, and terminating on a wall or corner of the room.
입력
The first line of input contains a single integer (), which is the number of vertices describing the convex polygon.
Each of the next lines contains two space-separated integers and (). These are the coordinates of the vertices of the convex polygon, in counterclockwise order. All points will be distinct.
The door is considered to be a single point located at the first vertex given in the input.
출력
Output two space-separated real numbers, which are the and coordinates of the other endpoint of the dividing line, such that the area of the room is divided in half. Each coordinate value must be accurate to within an absolute or relative error of . Output first, then .
Note that Sample 1 corresponds to the example in the problem description.