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