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