ss = gets.split.map(&:to_f).sort puts sprintf("%.2f" ,ss[1..4].inject(:+) / 4)