P,Q,R = map(int,input().split()) ans = max(max(Q/2,R)+max(Q/2,P),max(R/2,P)+max(R/2,Q),max(P/2,Q)+max(P/2,R))/(P+Q+R) print(ans)