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