<?php
$n = (int)trim(fgets(STDIN));

$args = explode(' ', trim(fgets(STDIN)));;
$fours = 0;
$twos = 0;
foreach ($args as $val) {
	$tmp=(int)$val;
	if ($tmp%4===0) {
		++$fours;
	}elseif ($tmp%2===0) {
		++$twos;
	}
}
$max_covered=$fours*2+$twos;
if ($max_covered>=$n) {
	echo 'Yes';
}else{
	echo 'No';
}
