output_description: Print the number of squares that satisfy both of the conditions.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      N
      a_1 a_2 \cdots a_N
attempt: # 解答
  def abc173_a(lines):
      N = int(lines[0])
      values = map(int, lines[1].split(" "))
      answer = 0
      tmp = list()
      for value in values:
          tmp.append(value)
      print(f"tmp=[{tmp}]")
      print(f"tmp[0]=[{tmp[0]}]")
      for i in range(N):
          if i % 2 != 0:
              pass
          else:
              if tmp[i] % 2 != 0:
                  answer += 1
      return [answer]
  
  
  # 引数を取得
  def get_input_lines(lines_count):
      lines = list()
      for _ in range(lines_count):
          lines.append(input())
      return lines
  
  
  # テストデータ
  def get_testdata(pattern):
      if pattern == 1:
          lines_input = ["5", "1 3 4 5 7"]
          lines_export = [2]
      elif pattern == 2:
          lines_input = ["15", "13 76 46 15 50 98 93 77 31 43 84 90 6 24 14"]
          lines_export = [3]
      return lines_input, lines_export
  
  
  # 動作モード判別
  def get_mode():
      import sys
  
      args = sys.argv
      if len(args) == 1:
          mode = 0
      else:
          mode = int(args[1])
      return mode
  
  
  # 主処理
  def main():
      mode = get_mode()
      if mode == 0:
          lines_input = get_input_lines(1)
      else:
          lines_input, lines_export = get_testdata(mode)
  
      lines_result = abc173_a(lines_input)
  
      for line_result in lines_result:
          print(line_result)
  
      if mode > 0:
          print(f"lines_input=[{lines_input}]")
          print(f"lines_export=[{lines_export}]")
          print(f"lines_result=[{lines_result}]")
          if lines_result == lines_export:
              print("OK")
          else:
              print("NG")
  
  
  # 起動処理
  if __name__ == "__main__":
      main()
  
problem_description: Statement
  
  We have N squares assigned the numbers 1,2,3,\ldots,N. Each square has an
  integer written on it, and the integer written on Square i is a_i.
  
  How many squares i satisfy both of the following conditions?
  
    * The assigned number, i, is odd.
    * The written integer is odd.
samples: [{"input": "5\n    1 3 4 5 7", "output": "2\n    \n\n  * Two squares, Square 1 and 5, satisfy both of the conditions.\n  * For Square 2 and 4, the assigned numbers are not odd.\n  * For Square 3, the written integer is not odd.\n\n* * *"}, {"input": "15\n    13 76 46 15 50 98 93 77 31 43 84 90 6 24 14", "output": "3"}]