#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ll n;
  cin >> n;
  ll a[n];
  vector<ll> v1, v2, v4;
  string ans;
  for (ll i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      v4.push_back(a[i]);
    else if (a[i] % 2 == 0)
      v2.push_back(a[i]);
    else
      v4.push_back(a[i]);
  }
  if (v2.size() == 0) {
    if (v1.size() <= v4.size() + 1) {
      ans = "Yes";
    } else {
      ans = "No";
    }
  } else {
    if (v1.size() <= v4.size()) {
      ans = "Yes";
    } else {
      ans = "No";
    }
  }
  cout << ans << endl;
}
