import java.util.*
object MainKt {
  @JvmStatic fun main(args:Array<String>) {
    val N=readLine()!!.toInt()
    val A=(1..N).map{
      readLine()!!
    }
    val map=HashMap<String,Int>()
    for(number in A) {
      map.get(number) ?.let {map.remove(number)} ?: number.let {map.put(number,1)}
    }
    println(map.size)
  }
}
