#include <iostream>
#include<string>
using namespace std;
int a,b,du=0,qu=0,od=0;
int main(){
	cin>>a;
	for(int i;i<a;i++){
		cin>>b;if(b%4==0)qu++;else if(b%2==0)du++;else od++;
	}
	if(qu>=od||(qu==od-1&&du==0))cout<<"Yes"<<endl;else cout<<"No"<<endl;
		return 0;
}