#include <bits/stdc++.h>
using namespace std;
const double pi =
    3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342;
const int mod = 1000000007;
int main() {
  int n, a[100101] = {};
  int c4 = 0, c2 = 0;
  cin >> n;
  for (int i = (0); i < (n); ++i) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      a[i] = 2;
      c4++;
    } else if (a[i] % 2 == 0) {
      a[i] = 1;
      c2++;
    } else {
      a[i] = 0;
    }
  }
  n -= (c2 + c4);
  if (n <= c4)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
