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