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