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