object Main {
  def main(args: Array[String]): Unit = {
    import scala.io.StdIn.readLine
    val Array(datN) = readLine.split(" ").map(_.toInt)
    val datA = for(i <- 1 to datN) yield (readLine.split(" ").map(_.toLong).head)
    val scoreA = datA.groupBy(identity).map{ case (k, v) => v.length % 2 }.sum
    println(scoreA)
  }
}
