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