#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  cout << fixed << setprecision(10);
  int n;
  cin >> n;
  vector<int> a(n);
  int t4 = 0;
  int t2 = 0;
  int t = 0;
  for (long long i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      t4++;
    } else if (a[i] % 2 == 0) {
      t2++;
    } else {
      t++;
    }
  }
  n -= (t4 * 2 + 1);
  n -= t2;
  if (n <= 0) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
