#include <bits/stdc++.h>
#define int long long
using namespace std;

signed main(){
	int N,two=0,four=0; cin>>N;
	for(int i=0;i<N;i++){
		int a; cin>>a;
		if(a%2==0 and a%4!=0)two++;
		else if(a%4==0)four++;
	}
	cout<<((two==0 and N-two-four-1<=four) or (two!=0 and N-two-four<=four) ? "Yes" : "No")<<endl;
}