#include <iostream>
#include <algorithm>
#include <math.h>
#include <string>
#include <cstdio>
#include <vector>
#include <set>
#include <cassert>
#include <cstdlib>
#include <complex>
#include <cctype>
#include <cmath>
#include <ctime>
#include <deque>
#include <queue>
#include <stack>
#include <map>
#include <set>
#include <sstream>
#include <functional>

using namespace std;
/**==Info==
*Program:
*Problem:
*Date:
*Algorithm:
*Stats:*/
int b1,b2,b3;
int main(){
	int n;
	for(int i=0;i<n;i++){
		int b;
		cin>>b;
		if(b%2==1){
			b1++;
		}
		if(b%2==0 && b%4!=0){
			b2++;
		}
		if(b%4==0){
			b4++;
		}
	}
	if(b2==0){
		if(b1<=b4+1){
			cout<<"Yes";
		}else{
			cout<<"No";
		}
	}else{
		if(b1<=b4){
			cout<<"Yes";
		}else{
			cout<<"No";
		}
	}
	return 0;
}
