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