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