p, q, r = io.read("*n", "*n", "*n") sum = p + q + r z = math.min(p, q, r) / sum print(string.format("%.10f", 1 - z))