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