#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<long long> v(n, 0);
  int countA = 0;
  int countB = 0;
  int countC = 0;
  for (int i = 0; i < n; i++) {
    cin >> v[i];
    if (v[i] % 4 == 0) {
      countA++;
    } else if (v[i] % 2 == 0) {
      countB++;
    } else {
      countC++;
    }
  }
  if (countB == 1) {
    countC++;
  } else if (countB > 1) {
    countC += 2;
  }
  if (countC + 1 <= countA) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
