import Data.List
import Control.Monad

toInt :: String -> Int
toInt = read :: String -> Int

main = do
  n <- toInt <$> getLine
  a <- map toInt <$> replicateM n getLine
  print $ length . filter odd . map length . group . sort $ a
