Ax+Bsin(x)=C II

Find the unique positive x with Ax + B sin(x) = C, given 0 < B <= A, and print it to nine decimals.

Medium4Binary searchMathNo attempts yetTime limit2sMemory limit512 MB

Problem

You are given integers AA, BB, and CC. Write a program that finds the solution xx of the equation Ax+Bsin(x)=CAx + B\sin(x) = C.

The constraints give 0<BA0 < B \le A, so the left side grows as xx grows. The equation therefore has exactly one solution, and that solution is positive because C>0C > 0.

Input

The first line contains the integers AA, BB, and CC, separated by spaces. (0<BA100,0000 < B \le A \le 100{,}000, 0<C100,0000 < C \le 100{,}000)

Output

Print xx on the first line, rounded at the tenth digit after the decimal point so that exactly nine digits follow the decimal point. Keep a trailing zero instead of dropping it, so nine digits always appear after the decimal point.