p, q, r = map(int, input().split()) print(max(p + q, q + r, r + p) / (p + q + r))