#include <bits/stdc++.h>
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
using namespace std;
using P = pair<int, int>;
using ll = long long;
const ll INF = 1LL << 60;
const double PI = 3.1415926535897932;
const int MOD = 1e9 + 7;
int main() {
  int n;
  cin >> n;
  vector<int> a(n);
  for (int i = 0; i < (n); ++i) cin >> a[i];
  int four_cnt = 0;
  int two_cnt = 0;
  for (int i = 0; i < (n); ++i) {
    if (a[i] % 4 == 0) four_cnt++;
    if (a[i] == 2) two_cnt++;
  }
  if (two_cnt > 1) {
    n -= (two_cnt - 1);
  }
  n -= four_cnt;
  n -= four_cnt * 2;
  if (n <= 0) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
