Construct a triangle 2#5191

Construct a triangle 2

1 second
122.174 megabytes
Very easy

Construct a triangle given two angles and the side between them.

Input

Three real numbers - the length of a side of triangle and two adjacent to it angles in degrees. The lengths of the sides are positive numbers not exceeding 10^4, the angles are positive numbers whose sum is less than .

Output

Print real numbers - the coordinates of the vertices of any triangle corresponding to the given input data with an accuracy of at least decimal digits.

Examples

Example 1

Loading
Loading