object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val hashMap = new scala.collection.mutable.HashMap[Int, Unit]
  1.to(sc.nextInt()).foreach { _ =>
    val number = sc.nextInt()
    if (hashMap.contains(number)) hashMap.remove(number)
    else hashMap.put(number, ())
  }
  println(hashMap.size)
}
