"use strict";

main(require("fs").readFileSync("/dev/stdin", "utf8"));

function main(input) {
  const [[n], nums] = input.split("\n").map(s => s.split(" ").map(Number));

  let countOfMultiplesOfFour = 0;
  let countOfMultiplesOfTwo = 0;
  nums.forEach((num) => {
    if(num % 4 === 0) {
      countOfMultiplesOfFour++;
    } else if(num % 2 === 0) {
      countOfMultiplesOfTwo++;
    }
  });

  let ans = "No";
  const rest = countOfMultiplesOfTwo >= 2 ? n - countOfMultiplesOfTwo : n;
  if(Math.floor(rest / 2) <= countOfMultiplesOfFour) {
    ans = "Yes";
  }
  console.log(ans);
}