// C - 4-adjacent
#include <bits/stdc++.h>
using namespace std;

int main(){
	int N; cin>>N;
	int c2 = 0, c4 = 0;
	for(int i=0; i<N; ++i){
		int a; cin>>a;
		if(a%4 == 0) c4++;
		else if(a%2 == 0) c2++;
	}
	puts(N/2 <= c4+c2/2? "Yes":"No");
}