#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ll n;
  cin >> n;
  ll cnt = 0;
  ll cnt2 = 0;
  for (ll i = 0; i < n; i++) {
    ll x;
    cin >> x;
    if (x % 4 == 0) {
      cnt++;
    } else if (x % 2 == 0) {
      cnt++;
    }
  }
  if (cnt + cnt2 / 2 < n / 2) {
    cout << "No" << endl;
  } else {
    cout << "Yes" << endl;
  }
}
