#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int f = 0;
  int t = 0;
  int o = 0;
  int a[100001] = {};
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      f++;
    } else if (a[i] % 2 == 0) {
      t++;
    } else {
      o++;
    }
  }
  if (t % 2 == 0) {
    o += t / 2;
  } else {
    o += t / 2 + 1;
  }
  if (o <= f + 1) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
