let count = Int(readLine()!)! let numbers = readLine()!.split{$0 == " "}.map { Int($0)! }.sorted() if count % 2 == 0 { print(Float(numbers[count / 2 - 1] + numbers[count / 2]) / Float(2)) } else { print(numbers[count / 2]) }