#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  long long o = 0, e = 0, e4 = 0;
  for (long long i = 0; i < n; i++) {
    long long num;
    cin >> num;
    if (num % 4 == 0) {
      e4++;
    } else if (num % 2 == 0) {
      e++;
    } else {
      o++;
    }
  }
  if (e != 0) {
    if (o <= e4 + 1) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else {
    if (o <= e4) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
  return 0;
}
