object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val n = sc.nextInt()
  val a = List.fill(n)(sc.nextInt())
  val ans = a.groupBy(identity).count(_._2.length % 2 == 1)
  println(ans)
}
