p,q,r = map(int,input().split()) a = [p,q,r] a.sort() print((a[-1]+a[-2])/sum(a))