Cake
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
In honor of the birth of an heir Tutti the royal chef has prepared a huge cake, that was put on the table for Three Fat Man. The first fat man can eat the cake by himself for t[1]
hours, second - for t[2]
hours, and the third - for t[3]
hours.
For what time can the cake be eaten simultaneously by all three fat men?
Input
One line contains three positive integers t[1]
, t[2]
and t[3]
, each of them is no more than 10000.
Output
Print the time in hours during which the cake can be eaten simultaneously by three fat men. Print the result with two digits after the decimal point.
Examples
Input #1
Answer #1
Submissions 26K
Acceptance rate 28%