#include <bits/stdc++.h>
using ll = long long;
using ld = long double;
using namespace std;
template <class T>
bool chmax(T &a, const T &b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
bool chmin(T &a, const T &b) {
  if (b < a) {
    a = b;
    return 1;
  }
  return 0;
}
ll mod = 1e9 + 7;
ll MOD = 1e9 + 7;
ll INF = 1e18;
vector<vector<ll> > gragh;
ll dfs(ll x) {
  if (gragh[x].size() == 0) {
    return 0;
  }
  ll Max = 0;
  ll Min = 1e18;
  for (int i = 0; i < (int)(gragh[x].size()); i++) {
    chmax(Max, dfs(gragh[x][i]));
    chmin(Min, dfs(gragh[x][i]));
  }
  return Max + Min + 1;
}
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  ll n;
  cin >> n;
  ll reg4 = 0;
  ll reg2 = 0;
  for (int i = 0; i < (int)(n); i++) {
    ll x;
    cin >> x;
    if (n == 1 && x % 4 != 0) {
      cout << "No" << endl;
      return 0;
    }
    if (x % 4 == 0) {
      reg4++;
    } else if (x % 2 == 0) {
      reg2++;
    }
  }
  if (reg2 == 1) reg2 = 0;
  if (reg4 == 0) {
    if (reg2 == n) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
  if (reg2 + 1 + reg4 * 2 >= n) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
