let get_int () = Scanf.scanf "%d " (fun v -> v)
let input_int_array n =
	Array.init n (fun _ -> Scanf.scanf "%d " (fun v -> v))

let () =
  let n = get_int ()
  in let ls = input_int_array n |> Array.to_list
  in 
  List.filter (fun v -> v mod 2 = 1) ls
  |> List.length
  |> (fun v -> if v mod 2 = 0 then "YES" else "NO")
  |> print_endline