#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> vec;
  int a = 0, b = 0, c;
  for (int i = 0; i < n; i++) {
    int t;
    cin >> t;
    vec.push_back(t);
    if (t % 4 == 0) {
      a++;
    } else if (t % 2 == 0) {
      b++;
    }
  }
  c = n - a - b;
  if (a >= c) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
