#include <bits/stdc++.h>
using namespace std;
inline int toInt(string s) {
  int v;
  istringstream sin(s);
  sin >> v;
  return v;
}
int main() {
  int N;
  cin >> N;
  vector<int> x(N);
  int fourcnt = 0, twocnt = 0;
  for (int i = 0; i < (int)(N); i++) {
    int a;
    cin >> a;
    if (a % 4 == 0) fourcnt++;
    if (a % 2 == 0 && a % 4 != 0) twocnt++;
  }
  if (1 <= twocnt && 1 <= fourcnt) {
    N = N - twocnt - 1;
    fourcnt--;
  }
  if (N % 2 == 0 && N / 2 <= fourcnt) {
    cout << "Yes" << endl;
    return 0;
  } else if (N % 2 == 1 && (N - 1) / 2 <= fourcnt) {
    cout << "Yes" << endl;
    return 0;
  }
  cout << "No" << endl;
  return 0;
}
