#include <bits/stdc++.h>
using namespace std;
long long n, a, d[3];
int main(int argc, char** argv) {
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a;
    if (a % 4 == 0) {
      d[2]++;
    } else if (a % 2 == 0) {
      d[1]++;
    } else {
      d[0]++;
    }
  }
  if (d[1] != 1) d[0]++;
  if (d[0] > d[2] + 1) {
    cout << "No";
  } else {
    cout << "Yes";
  }
  return 0;
}
