#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  long long A[N];
  for (int i = 0; i < N; i++) {
    cin >> A[i];
  }
  int s = 0;
  int t = 0;
  int u = 0;
  for (int j = 0; j < N; j++) {
    if (A[j] % 4 == 2) {
      t++;
    } else if (A[j] % 4 == 0) {
      s++;
    } else {
      u++;
    }
  }
  if (2 * s + t >= N) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
