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