#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<long long> a(n);
  int num2 = 0;
  int num4 = 0;
  for (int i = 0; i < n; i++) cin >> a[i];
  for (int i = 0; i < n; i++) {
    if (a[i] % 2 == 0 && a[i] % 4 != 0) {
      num2++;
    }
    if (a[i] % 4 == 0) {
      num4++;
    }
  }
  n -= (num2 / 2);
  if (n / 2 <= num4) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
