'use strict'

function main(s) {

  const nums = s.split('\n')[1].split(' ').map(n => Number(n));

  const multi4 = nums.filter(n => n % 4 === 0).length;
  const has2   = nums.filter(n => n === 2).length;

  let ans = ''

  if (has2) {
    ans = (multi4 >= Math.ceil((nums.length - has2) / 2)) ? 'Yes' : 'No';
  } else {
    ans = (multi4 >= Math.floor(nums.length / 2)) ? 'Yes' : 'No';
  }

  console.log(ans);
}

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