#include <iostream>
#include <vector>
using namespace std;
int main(void){
  int N;
  cin >> N;
  
  vector<int>num(N,0);
  
  for(int i=0;i<N;i++){
    cin >> num[i];
  }
  
  int mul_4 = 0;
  int mul_2 = 0;
  
  for(int i=0;i<N;i++){
    if(num[i] % 4 == 0)
      mul_4++;
    else if(num[i] % 2 == 0)
      mul_2++;
  }
  
  bool can = false;
  
  if(mul_4 >= N / 2)
    can = true;
  else if(mul_4 * 2 + mul_2 >= N)
    can = true;
  
  if(can)
    cout << "Yes" << endl;
  else
    cout << "No" << endl:
  
  return 0;
}

    
