#include <bits/stdc++.h>
using namespace std;

int main() {
  int n,c = 0;
  cin >> n;
  for(int i = 0;i < n;i++){
    long long a;
    cin >> a;
    if(a%4 == 0){
      c += 2;
    }
    else if(a%2 == 0){
      c++;
    }
  }
  if((n%2 == 0 && c >= n)||(n%2 == 1 && c >= n-1)){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
}
