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