#include <bits/stdc++.h>
using namespace std;
struct aaa {
  aaa() {
    cin.tie(nullptr);
    ios::sync_with_stdio(false);
    cout << fixed << setprecision(20);
  };
} aaa;
template <class T>
ostream &operator<<(ostream &o, const vector<T> &v) {
  o << "{";
  for (int i = 0; i < (int)v.size(); i++) o << (i > 0 ? ", " : "") << v[i];
  o << "}";
  return o;
}
using int64 = long long;
int main() {
  int n;
  cin >> n;
  vector<int> div = {0, 0, 0, 0, 0};
  for (int i = 0; i < n; i++) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      div[4]++;
    else if (a % 2 == 0)
      div[2]++;
    else
      div[0]++;
  }
  bool ans;
  ans = ans || div[2] == n;
  ans = ans || div[4] >= div[0];
  ans = ans || (n == 3 && div[4] >= 1);
  cout << (ans ? "Yes" : "No") << endl;
}
