{-# OPTIONS_GHC -O #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ViewPatterns #-}

import Control.Monad
import Data.List
import qualified Data.ByteString.Char8 as B
import qualified Data.Set as S

f st n = if S.member n st then S.delete n st else S.insert n st

main=do
    n <- readLn::IO Int
    res <- foldl' f S.empty <$> replicateM n B.getLine
    print $ S.size res
