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