#include <bits/stdc++.h>
using namespace std;
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;
}
const long long mod = 1e9 + 7;
const int inf = 1 << 30;
int main() {
  int n;
  cin >> n;
  vector<int> a(n);
  for (int i = 0; i < (int)(n); i++) cin >> a[i];
  int cnt2 = 0;
  int cnt4 = 0;
  for (int i = 0; i < (int)(n); i++) {
    if (a[i] % 4 == 0)
      cnt4++;
    else if (a[i] % 2 == 0)
      cnt2++;
  }
  int N = cnt4 * 2 + cnt2;
  if (N >= n) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
