printf"%.2f",gets.split.map(&:to_f).sort.slice(1,4).sum/4.0