[<EntryPoint>]
let main argv =
    stdin.ReadLine() |> ignore
    stdin.ReadLine().Split()
    |> Array.map int
    |> Array.mapi (fun i x -> i % 2 = 1 && x % 2 = 1)
    |> Array.filter id
    |> Array.length
    |> printfn "%d"
    0
