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