import std.stdio;
import std.conv, std.array, std.algorithm, std.string;
import std.math, std.random, std.range, std.datetime;
import std.bigint;
import std.container;
string read(){ static string[] ss; while(!ss.length) ss = readln.chomp.split; string res = ss[0]; ss.popFront; return res; }

void main(){
	long n = read.to!long;
	long[] as = readln.split.map!(to!long).array;
	
	int oddcount;
	int x4count;
	foreach(a; as){
		if(a % 4 == 0) x4count += 1;
		if(a % 2 == 1) oddcount += 1;
		}
	
	string ans;
	if(oddcount + x4count == n){
		if(oddcount - 1 <= x4count) ans = "Yes"; 
		else ans = "No";
		}
	else{
		if(oddcount <= x4count) ans = "Yes"; 
		else ans = "No";
		}
	
	ans.writeln;
	}
	
