let ``No.275 中央値を求めよ``() = stdin.ReadLine(); stdin.ReadLine().Split(' ') |> Array.map (fun s -> s |> int) |> Array.sort |> fun l -> match (l.Length % 2) with | 0 -> (float(l.[l.Length/2-1] ) + float(l.[l.Length/2])) / 2. | _ -> float (l.[ l.Length / 2 ]) |> stdout.WriteLine ``No.275 中央値を求めよ``()