#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 LLINF = 1LL << 60;
int main(void) {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n, i;
  cin >> n;
  vector<int> v(n, 0);
  for (i = 0; i < n; i++) cin >> v[i];
  int b[3] = {0};
  for (i = 0; i < n; i++) {
    if (v[i] % 4 == 0)
      b[2]++;
    else if (v[i] % 2 == 0)
      b[1]++;
    else
      b[0]++;
  }
  if (b[1] == 0) {
    if (b[2] <= b[0] + 1)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    if (b[0] <= b[2])
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
