## Mock CCC '18 Contest 1 J3/S1 - A Math Problem

View as PDF

Points: 5 (partial)
Time limit: 5.0s
Memory limit: 1G

Author:
Problem type

Given positive integers , , and , compute the minimum possible value of given that must be a positive integer.

#### Input Specification

The input consists of a single line containing three space-separated integers , , and .

#### Output Specification

Print, on a single line, the minimum possible value of subject to the above constraint, rounded to exactly three decimal places.

The input data will be set such that the correct answer will not be within of the aforementioned rounding boundary.

#### Sample Input

31 41 59

#### Sample Output

549.200

#### Sample Input

3 4 5

#### Sample Output

16.000