n = gets.to_i a = gets.chomp.split.map(&:to_i).sort if n % 2 == 0 puts ([n/2+1] + [n/2]) / 2.to_f else puts a = n/2 end