#include <bits/stdc++.h>
using namespace std;
const int MAXN = 100010;
int n;
long long a[MAXN];
void solve() {
  int cnt2 = 0;
  int cnt4 = 0;
  for (int i = 0; i < n; i++) {
    if (a[i] % 4 == 0) {
      cnt4++;
    } else if (a[i] % 2 == 0) {
      cnt2++;
    }
  }
  if (cnt4 >= (n - cnt4 - cnt2)) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  solve();
}
