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