#include <bits/stdc++.h>
#pragma GCC optimize("O3,no-stack-protector")
#pragma GCC optimize("unroll-loops")
#pragma GCC target("avx")
using namespace std;
using Graph = vector<vector<int64_t>>;
const double pi = M_PI;
const int64_t MOD = 1000000007;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  int n;
  cin >> n;
  int a, b, c;
  a = b = c = 0;
  for (int i = 0; i < n; i++) {
    int in;
    cin >> in;
    if (in == 2) {
      a++;
    } else if (in % 4 == 0) {
      b++;
    } else {
      c++;
    }
  }
  bool ans = false;
  if (a == 0) {
    if (c <= b + 1) {
      ans = true;
    }
  } else {
    if (c <= b) {
      ans = true;
    }
  }
  if (ans) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
