#include <bits/stdc++.h>
using namespace std;
int main() {
  long long N;
  cin >> N;
  vector<long long> a(N);
  long long cntK = 0;
  long long cnt2 = 0;
  long long cnt4 = 0;
  for (int i = 0; i < N; i++) {
    cin >> a[i];
    if (a[i] % 2 != 0) {
      cntK++;
    } else if ((a[i] % 2) == 0 && (a[i] % 4) != 0) {
      cnt2++;
    } else if ((a[i] % 2) == 0 && a[i] % 4 == 0) {
      cnt4++;
    }
  }
  long long am = cntK;
  if (cnt2 == 1) {
    am = cntK + 1;
  }
  if (am > 2 * cnt4) {
    cout << "No" << endl;
  } else {
    cout << "Yes" << endl;
  }
}
