#include <bits/stdc++.h>
using namespace std;
using ull = unsigned long long;
void solve() {
  int count = 0;
  int n;
  cin >> n;
  int a[n];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      count++;
    }
  }
  if (count > 0 && n <= count + 2) {
    cout << "Yes" << endl;
  } else {
    int count2 = 0;
    for (int i = 0; i < n; i++) {
      if (a[i] == 2) {
        count2++;
      }
      if (count2 >= 2) {
        n -= 2;
        count2--;
      }
    }
    if (count > 0 && n <= count + 2) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
}
int main() {
  solve();
  return 0;
}
