#include<iostream>
using namespace std;
int main(){
	int a,b,x=0,y=0,cnt,i;
	cin>>a;
	for(i=0;i<a;i++){
		cin>>b;
		cnt=0;
		if(b%4==0)cnt++;
		if(b%2==0)cnt++;
		if(cnt==1)x++;
		if(cnt==2)y++;
	}
	if(y>=a-x-y)cout<<"Yes";
	else if(!x&&y==a/2)cout<<"Yes";
	else cout<<"No";
}