#include <bits/stdc++.h>
using namespace std;
template <class T>
bool chmax(T &a, const T &b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
bool chmin(T &a, const T &b) {
  if (b < a) {
    a = b;
    return 1;
  }
  return 0;
}
int N, four = 0, two = 0;
int main() {
  cin >> N;
  int a[N];
  for (int i = 0; i < (int)(N); i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      four += 3;
    } else if (a[i] % 2 == 0) {
      two++;
    }
  }
  if (two) N -= two - 1;
  N -= four;
  if (N <= 0) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
