#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using vi = vector<int>;
using vll = vector<ll>;
using P = pair<int, int>;
const int INF = 1e9;
const ll INFLL = 1e18;
const int MOD = 1e9 + 7;
const int NIL = -1;
const ld PI = acosl(-1);
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;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  int n;
  cin >> n;
  vi a(n);
  for (int i = 0; i < (n); ++i) cin >> a[i];
  int odd = 0;
  int canDiv2 = 0;
  int canDiv4 = 0;
  for (int t : a) {
    if (t % 4 == 0)
      canDiv4++;
    else if (t % 2 == 0)
      canDiv2++;
    if (t % 2 == 1) odd++;
  }
  cerr << canDiv4 << endl;
  cerr << canDiv2 << endl;
  cerr << odd << endl;
  odd += canDiv2 % 2;
  if (canDiv4 < odd) {
    cout << "No" << endl;
  } else {
    cout << "Yes" << endl;
  }
  return 0;
}
