*prob,=map(int,input().split()) ans=max(max(prob)/sum(prob),1-max(prob)/sum(prob)) print(ans)