let () = Scanf.scanf "%d\n" @@ fun n ->
  let as_ = Array.to_list @@ Array.init n @@ fun _ ->
    Scanf.scanf "%d " @@ fun a -> a in
  print_endline @@
    if
      List.for_all (fun a -> a mod 2 = 0) as_ ||
      List.length (List.filter (fun a -> a mod 2 = 1) as_)
      <= 2 * List.length (List.filter (fun a -> a mod 4 = 0) as_) - 1
    then "Yes"
    else "No"

