#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  int a[4];
  int b;
  for (long long i = 0; i < n; i++) {
    cin >> b;
    a[b % 4]++;
  }
  if (a[2] >= 2) {
    if (n - a[2] <= a[0] * 2) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else {
    if (n <= a[0] * 2 + 1) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
}
