#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
using pl = pair<ll, ll>;
const ll MOD = 1000000007;
const ll MOD9 = 998244353;
const int inf = 1e9;
const ll INF = 4e18;
const ll dy[4] = {1, 0, -1, 0};
const ll dx[4] = {0, -1, 0, 1};
int main() {
  ll N;
  cin >> N;
  vl a(N);
  for (ll i = 0; i < N; i++) {
    cin >> a.at(i);
  }
  ll count1 = 0;
  ll count2 = 0;
  for (ll i = 0; i < N; i++) {
    if (a.at(i) % 4 == 0) {
      count1++;
    } else if ((a.at(i) % 4 != 0) && (a.at(i) % 2 == 0)) {
      count2++;
    }
  }
  if (count2 == 0) {
    if (count1 == N / 2) {
      cout << "Yes" << endl;
      return 0;
    } else {
      cout << "No" << endl;
      return 0;
    }
  } else if (count2 != 0) {
    if (count1 >= N - count1 - count2) {
      cout << "Yes" << endl;
      return 0;
    } else {
      cout << "No" << endl;
      return 0;
    }
  }
}
