var paper = [Int : Int]()
for _ in 0..<Int(readLine()!)! {
    let A = Int(readLine()!)!
    if paper[A] == nil {
        paper[A] = 1
    } else {
        paper[A] = nil
    }
}
print(paper.values.reduce(0){$0+$1})