#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int sz = 1e5 + 10;
int ar[sz];
int n, cnt, di, cn;
int main() {
  while (cin >> n) {
    cnt = 0;
    cn = 0;
    di = n;
    for (int i = 0; i < n; i++) {
      cin >> ar[i];
      if (ar[i] % 4 == 0) {
        cnt++;
        di--;
      } else if (ar[i] % 2 == 0)
        cn++;
    }
    di -= (cn / 2) * 2;
    if ((cn & 1) && cn > 2) {
      di--;
    }
    if (cnt * 2 >= di) {
      cout << "Yes\n";
    } else {
      cout << "No\n";
    }
  }
  return 0;
}
