#include <iostream>
#include <vector>
using namespace std;
     
int main() {
int n,f = 0,s = 0;
cin >> n;
vector<int> a(n,0);
for(int i = 0;i < n;i++){
	cin >> a[i];
	if(a[i]%4 == 0)f++;
	else if(a[i]%2 == 0)s++;
}
if(f >= n/2)cout << "Yes\n";
else if(n-(f*2) <= s)cout << "Yes\n";
else cout << "No\n";
return 0;
}