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