Dense forest#4419

Dense forest

1 second
128 megabytes
Very easy

To prevent the appearance of sanitary inspection in the camp, the summer computer camp administration dug the only road connecting the "Greenfield Meadows" with Oakridge, so now it is impossible to travel along it. However, the difficulties did not stop the inspection, for it remains only one possibility — to reach the camp on foot. As you know, Oakridge is in the field, and "Greenfield Meadows" are in the forest.

The summer computer camp administration want to know how much time left to prepare for sanitary inspection visit. It asked you to find out at what point the sanitary inspection should enter into the forest to reach "Greenfield Meadows" as fast as possible.

Input

First line contains two positive integers V_p and V_f (1 \leq V_p, V_f \leq 10^5). Second line contains one real number — the coordinate of the border between the forest and field (0 \leq a \leq 1).

Output

Print one real number with accuracy of no less than digits after the decimal point — the coordinate of the point at which the sanitary inspection will enter the forest.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading