#include <bits/stdc++.h>
using ll = long long;
ll gcd(ll a, ll b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
ll lcm(ll a, ll b) {
  ll g = gcd(a, b);
  return a / g * b;
}
template <int id>
struct CompTupleBy {
  template <class T>
  bool operator()(const T& a, const T& b) const {
    return std::get<id>(a) < std::get<id>(b);
  }
};
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  vector<int> vec(n);
  int four = 0, two = 0, zero = 0;
  for (int(i) = 0; (i) < (n); (i)++) {
    cin >> vec[i];
    if (vec[i] % 4 == 0) {
      four++;
    } else if (vec[i] % 2 == 0) {
      two++;
    } else {
      zero++;
    }
  }
  if (two == 0) {
    if (zero <= four + 1) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else {
    if (zero < four) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
}
