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