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