Construct a triangle with two sides and the included angle#5190

Construct a triangle with two sides and the included angle

1 second
128 megabytes
Very easy

Construct a triangle given two sides and included angle.

Input

Contains three real numbers - the lengths of two sides of the triangle and the angle between them in degrees. The lengths of the sides are positive numbers not exceeding 10^4, the angle is a positive number 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