Average train speed
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the average speed of the train, if it traveled the first half of the distance at a speed of , and the second half at a speed of .
Input
Two integers and .
Output
Print the average speed of the train with decimal places.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 1K
Acceptance rate 35%