#include <bits/stdc++.h>
using namespace std;
long long int MOD = 1000000007;
long long int INFL = 1ll << 60;
long long int INF = 1 << 30;
int main() {
  int n;
  cin >> n;
  vector<int> v(n);
  int yon = 0, ni = 0, sonota = 0;
  for (int i = 0; i < n; i++) {
    cin >> v[i];
    if (v[i] % 4 == 0)
      yon++;
    else if (v[i] % 2 == 0)
      ni++;
    else
      sonota++;
  }
  if (sonota > yon + 1) {
    cout << "No" << endl;
  } else {
    cout << "Yes" << endl;
  }
}
