Time

18:03:55
22 May 2012
Version for print

Cake

   In honor of the birth of an heir Tutti 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 t1 hours, second - for t2 hours, and the third - for t3 hours.

   For what time can the cake be eaten simultaneously by all three fat men?


Specifications

   Input

   One line contains three positive integers t1, t2 and t3, 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 2 digits after the decimal point.


Problem information

Time Limit: 0.5 seconds
Memory Limit: 64 MB
Balls for the passed test: 3.84615
Complexity: 23% 636/831

Example

Example input

3 3 3

Example output

1.00


← Clocks Problems Balloons →