P = sorted(map(int, input().split())) print(sum(P[1:]) / sum(P))