abc = list(map(int, input().split())) abc.sort() total = sum(abc) ans = (abc[1] + abc[2]) / total print(ans)