#include <iostream>
#include <vector>

using namespace std;

int main(){
  int N;
  cin >> N;
  vector <long  long int> V(N);
  
  int x2 = 0;
  int x4 = 0;
  
  for(int i = 0; i < N; i++){
    cin >> V[i];
    if(V[i] % 2 == 0) x2++;
    if(V[i] % 4 == 0) x4++;
    //x2 - x4 devidable only by 2
  }
  
  string ans = "";
  if(x2 >= N) ans = "Yes";
  //else if(x4 >= (N+1) /2) ans = "Yes";
  else{
    if(N-(x2-x4) % 2 == 0){
      if(x4 >= 2 + (N - (x2-x4) - 1)/2){
        ans = "Yes";
      }else{
        ans = "No";
      }
    else{
      if(x4 >= 1 + (N - (x2-x4) - 1)/2){
        ans = "Yes";
      }else{
        ans = "No";
      }
    }
  }
  
  cout << ans;


}
