class OddProblem
  def initialize(aa)
    @aa = aa
  end

  def solve
    ct = 0
    @aa.each_slice(2) do |x|
      ct += 1 if x[0].odd?
    end
    ct
  end
end

def run
  gets
  aa = gets.scan(/\d+/).map(&:to_i)
  puts OddProblem.new(aa).solve
end

run
