#include <iostream>
using namespace std;

int N;

int main(){
	while(cin >> N && N >1){
		int odd = 0,even = 0, e4 = 0;
		for(int i=0;i<N;i++){
			long long  a;
			cin >> a;
			if(a%4 == 0) e4++;
			else if(a%2 == 0) even++;
			else odd++;;
		}
		if(e4 >= odd || (e4 == odd-1 && even == 0)) cout << "Yes" << endl;
		else cout << "No" << endl;
	}
}