A = list(map(int, input().split())) A.sort(reverse=True) if A[0] >= sum(A[1:]): print(A[0] / sum(A)) else: print(sum(A[1:]) / sum(A))