#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll INF = 1e16;
const ll mod = 1000000007;
int main() {
  ll n;
  cin >> n;
  ll odd = 0, mod4 = 0;
  for (int i = 0; i < (ll)(n); i++) {
    ll a;
    cin >> a;
    if (a % 2) odd++;
    if (a % 4 == 0) mod4++;
  }
  if (odd - 1 <= mod4)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
