fun main(args: Array<String>) {
    val n= readLine()!!.toInt()
    (1..n).map{ readLine()!!.toLong() }
            .groupBy { it }.map { it.value.size }
            .filter { it%2==1 }
            .count()
            .let{ println(it) }
}