Sophie likes to bake cakes and share them with friends. For the wedding of her best friend Bea she baked a very special cake from the best ingredients she could find and put a picture of the engaged couple on top. To make it even more special she did not make it round or square, but cut it into a convex shape of her own design. Sophie decided to send the cake to the party with a specialist carrier. The cake turned out to be a little heavier than the standard cake package allows, and the overweight fee is steep, so Sophie decided to remove part of the cake to make it lighter.
Sophie cuts the cake as follows. First she picks a real number s≥2. At every vertex she marks, on each of the two edges that meet there, the point at 1/s of that edge's length measured from the vertex. She then makes a straight cut between the two marks of that vertex and removes the vertex. She does this once at every vertex.

The figure shows the first two sample inputs.
Assume the weight is spread uniformly over the area of the cake. Sophie does not want to cut away more than she has to. Work out how she should choose s.
The first line contains a real number a and an integer N, where a is the fraction of the cake's weight that the carrier allows and N is the number of vertices of the cake (0.25≤a<1, 3≤N≤100). a is given with at most 7 digits after the decimal point.
Each of the next N lines contains two integers xi and yi, the coordinates of one vertex of the cake (0≤xi,yi≤108). The vertices are given in the order in which they form a strictly convex polygon, either clockwise or counterclockwise.
There is always an s with 2≤s≤1000 that leaves exactly the fraction a of the original weight.
Print, on one line, the largest s for which the remaining cake weighs at most the fraction a of the original weight. Round the value at the seventh digit after the decimal point and print all six digits after the decimal point.