prob = list(map(int, input().split()))
prob.sort(reverse = True)
print((prob[0] + prob[1]) / sum(prob))