#include<bits/stdc++.h>
using namespace std;
int N, a;
int x4, x2, x1;
int main(){
  	cin >> N;
  	for(int i=0; i<N; i++){
    	cin >> a;
      	if(a % 4 == 0){
        	x4++;
        }else if(a % 2 == 0){
        	x2++;
        }else{
          	x1++;
        }
    }
  	cout << ((x4 >= x1 || (x4 == x1 - 1 && x2 == 0)) ? "Yes": "No") << endl; 
}
