S = list(map(int,input().split())) T = (sum(S)-min(S)-max(S))*25 T_str = str(T) print(T[:-2] + "." + T[-2:])