Vanya, inscribed in the polygon#4362

Vanya, inscribed in the polygon

1 second
122.174 megabytes
Hard

"Contador as an owl, looking around at around..."

(from TV coverage of the Tour de France 2013)

Catfish Ivan is lying on the desk in the audience at the point x_0, y_0. The audience is a convex polygon. Ivan's viewing angle equals to degrees. If he could see in all four directions, then would be equal to . Take a look at the picture to understand better.

prb4362

Ivan sees only the part of audience, which is marked blue. He can't get up from his seat during class, but he can try to quietly swirl around his axis. Determine the maximum area of ​​the audience, which Ivan can see.

Input

The first line contains two numbers: the number of vertices in the polygon (3 \leq n \leq 500) and real angle (0 \leq A \leq 180). In the second line there are 2 \cdot n real numbers - the coordinates of the vertices x_i, y_i (-3000 \leq x_i, y_i \leq 3000) in the counter-clockwise order. And the third line contains two integer numbers x_0, y_0 - coordinates of Ivan's location. It's known that Ivan is in the inside of the audience, not on it's wall, or outside.

Output

Print the maximum area of audience, which Ivan can see, with five characters after the dot.

Examples

Example 1

Loading
Loading