#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pi = pair<int, int>;
using pl = pair<ll, ll>;
using vi = vector<int>;
using vl = vector<ll>;
using vs = vector<string>;
using vb = vector<bool>;
using vvi = vector<vi>;
using vvl = vector<vl>;
const int MOD = 1e9 + 7;
const int INF = 1e9 + 7;
const ll INFL = 1e18;
const double PI = 3.141592653589793;
const double EPS = 1e-9;
template <class T>
bool chmax(T &a, const T &b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
bool chmin(T &a, const T &b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
signed main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  cout << fixed << setprecision(20);
  ll N;
  cin >> N;
  vl a(N);
  for (int i = 0; i < (N); i++) cin >> a[i];
  int c4, c2;
  for (int i = 0; i < (N); i++) {
    if (a[i] % 4 == 0)
      c4++;
    else if (a[i] % 2 == 0)
      c2++;
  }
  int n = N - c2;
  if (c2 != 0) n++;
  if (n - c4 > c4 + 1)
    cout << "No" << endl;
  else
    cout << "Yes" << endl;
}
