#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, count, x, i, s, a;
  cin >> n;
  count = 0;
  s = 0;
  a = 0;
  for (i = 0; i < n; i++) {
    cin >> x;
    if (x % 4 == 0) {
      count++;
    }
    if (x == 2) {
      s++;
    } else if (x % 2 == 0) {
      a++;
    }
  }
  if (s <= a) {
    count += s;
  } else {
    count += a + (s - a) / 2;
  }
  if (n / 2 <= count) {
    cout << "Yes";
  } else {
    cout << "No";
  }
  return 0;
}
