#yuki1230 p,q,r=map(int,input().split()) s=p+q+r a=p/s b=q/s c=r/s res=max(a,b,c,1-a,1-b,1-c) print('{:.9f}'.format(res))