let _ = stdin.ReadLine() stdin.ReadLine().Split(' ') |> Seq.groupBy id |> Seq.filter (fun (_,b) -> Seq.length b = 1) |> Seq.length |> printfn "%d"