#include <bits/stdc++.h>
using ll = long long;
using namespace std;
int n;
int main(void) {
  cin >> n;
  int odd = 0, two = 0, four = 0, tm;
  for (int i = 0; i < (int)(n); i++) {
    cin >> tm;
    if (tm % 2) {
      odd++;
    } else if (tm % 4 == 0) {
      four++;
    } else if (tm % 2 == 0) {
      two++;
    }
  }
  if (odd + two <= four + 1) {
    cout << "Yes" << endl;
  } else if (odd <= four + 1 && two > 1) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
