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