The laser is positioned inside a convex -gon with mirrored walls. When activated, the laser beam reflects off the walls. Determine the angle relative to the x-axis at which the laser should be aimed so that the beam first reflects off the first wall, then the second, continuing in sequence, and finally, after reflecting off the -th wall, returns to its starting point. The beam must not reflect off any vertices of the -gon.
The first line of the input provides the number of vertices of the polygon, (3 \leq n \leq 100). The next lines list the coordinates of the polygon's vertices in a clockwise order. The first wall is defined by the line segment between the first and second vertices, the second wall by the segment between the second and third vertices, and so forth. The last line of the input specifies the coordinates of the laser, which is treated as a point. All coordinates are real numbers with absolute values not exceeding . The vertices can be listed in either clockwise or counterclockwise order.
If a solution exists, output the required angle (in degrees) with a precision error not exceeding degrees. The angle should be within the range (0 \leq \alpha < 360). If no solution exists, output .
Example 1