#include <bits/stdc++.h>
using namespace std;
using VI = vector<int>;
int four;
int two;
int odd;
int main() {
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      four++;
    else if (a % 2 == 0)
      two++;
  }
  odd = n - four - two;
  if (two == 0) {
    if (odd <= four + 1) {
      cout << "Yes" << endl;
      return 0;
    }
    cout << "No" << endl;
  }
  if (odd <= four) {
    cout << "Yes" << endl;
    return 0;
  }
  cout << "No" << endl;
}
