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