import Data.List
import Control.Monad
import Control.Applicative
 
rInt = read :: String -> Int
 
main = do
    n <- rInt <$> getLine
    a <- group . sort . (map rInt) <$> replicateM n getLine
    print $ length $ filter (odd . length) a