S = list(map(int, input().split())) S.sort() ans = str(sum(S[1:5]) * 25) if ans == "0": print("0.00") exit() if int(ans) < 100: print("0." + ans) exit() n = len(ans) print(ans[:n-2] + "." + ans[n-2:])