module Main where

import Control.Applicative
import Control.Monad
import Data.List

main :: IO ()
main = do
    n <- readLn
    as <- replicateM n readLn :: IO [Int]
    let ans = length . filter (odd . length) . group . sort $ as
    print ans