import Control.Monad (replicateM)
import qualified Data.MultiSet as MS

main :: IO ()
main = do
  n <- readLn
  as <- replicateM n $ readLn
  print $ solve as

solve :: [Int] -> Int
solve = MS.foldOccur (\i n acc -> if odd n then acc+1 else acc) 0 . MS.fromList
