PQR=list(map(int,input().split())) ans=max(PQR)/sum(PQR) print(ans if ans>0.5 else 1-ans)