Module: (C++) Real numbers


Problem

8 /10


I'll meet you in ...

Problem

Neznaika and Gunka decided to meet to go visit Knopochka. They ran out of their houses at the same time to meet each other. Neznaika ran with speed V1 meters per second, and Gunka with speed V2 meters per second. In how many seconds they will meet if the distance between their houses is S meters.
 

Input format
Given are three real numbers SV1V2, каждое на отдельной строке.

Output format
Outpur the answer to the problem with an accuracy of at least 6 decimal places.
 
Example
N Input Output
1 100.0
15.0
20.0
2.857142857142857