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