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