You’re given the area of the circle centered at L as in the image and a number that denotes the proportion of area of circles [Proportion = Area(circle of center O) / Area(circle of center L)].

Write a program that will calculate the area of ABCD quadrilateral and BPQ triangle [Shown in the image].

Input

Input contains only only two floating point number separated by a single space.

Constraints:

You are to take double precision numbers as input. Consider ℼ=arccos(-1).