#include <bits/stdc++.h>
using namespace std;
const bool GOOGLE = 0;
const int MOD = 998244353;
const double PI = atan(1.0) * 4;
char nc() {
  char tmp;
  cin >> tmp;
  return tmp;
}
int nxt() {
  int tmp;
  cin >> tmp;
  return tmp;
}
long long nll() {
  long long tmp;
  cin >> tmp;
  return tmp;
}
string ns() {
  string tmp;
  cin >> tmp;
  return tmp;
}
template <class T>
void pvs(vector<T>& v) {
  copy(begin(v), end(v), ostream_iterator<T>(cout, " "));
}
template <class T>
void pv(vector<T> v) {
  copy(begin(v), end(v), ostream_iterator<T>(cout, " "));
}
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
const bool TC = 0;
const string nah = "No\n";
const string yah = "Yes\n";
void solve() {
  int n;
  cin >> n;
  int fours = 0;
  int evens = 0;
  int odds = 0;
  for (int i = 0; i < (n); i++) {
    int tmp;
    cin >> tmp;
    if (tmp % 4 == 0)
      fours++;
    else if (tmp % 2 == 0)
      evens++;
    else
      odds++;
  }
  if (odds > fours) {
    cout << nah;
    return;
  }
  cout << yah;
  return;
}
int main() {
  ios_base::sync_with_stdio(0);
  cout.tie(0);
  cin.tie(0);
  int T = 1;
  if (TC) cin >> T;
  for (int tc = 1; tc < (T + 1); tc++) {
    if (GOOGLE) cout << "Case #" << tc << ": ";
    solve();
  }
  return 0;
}
