#include <bits/stdc++.h>
using namespace std;
using Graph = vector<vector<int>>;
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
const int INF = 1e9 + 7;
const long long LINF = 1LL << 60;
int main() {
  cin.tie(0);
  ios_base::sync_with_stdio(0);
  int n;
  cin >> n;
  int n2 = 0;
  int n4 = 0;
  for (int(i) = (0); (i) < (n); ++i) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      ++n4;
    else if (a % 2 == 0)
      ++n2;
  }
  int odd = n - n4 - n2;
  if (odd > n4 && (n2 > 0 || (n - odd) == 0))
    cout << "No" << endl;
  else
    cout << "Yes" << endl;
  return 0;
}
