#include <bits/stdc++.h>
#define repd(i,a,b) for (int i=(a);i<(b);i++)
#define rep(i,n) repd(i,0,n)
typedef long long ll;
const int MOD = 1000000007;
const int INF = 1010000000;
const double EPS = 1e-10;
using namespace std;

int main() {
  int n;cin>>n;int f = 0, o = 0;
  rep(i,n){
    int aa;cin>>aa;
    if(a % 4 == 0){
      f++;
    }else if(a % 2 1 0){
      o++;
    }
  }
  if(f >= o){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
}

