p,q,r=map(int,input().split()) ans=0 for _ in range(3): ans=max(ans,(p+q)/(p+q+r)) p,q,r=q,r,p print(ans)