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