#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  vector<long long> a(n);
  long long sum4 = 0;
  long long sum2 = 0;
  long long sumodd = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (0 == a[i] % 4) {
      sum4++;
    }
    if (0 == a[i] % 2) {
      sum2++;
    } else {
      sumodd++;
    }
  }
  if (sum4 * 2 + 1 >= sumodd || sum2 >= n) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
