#include <bits/stdc++.h>
using namespace std;
using ii = pair<int, int>;
const int INF = (int)1e9 + 5;
int n;
int a;
int main() {
  int cnt_4mul = 0;
  int cnt_even = 0;
  int cnt_odd = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a;
    if (a % 4 == 0) {
      cnt_4mul++;
    } else if (a % 2 == 0) {
      cnt_even++;
    } else {
      cnt_odd++;
    }
  }
  if (cnt_even > 0 && cnt_odd >= cnt_4mul + 1) {
    cout << "No" << endl;
  } else if (cnt_even + cnt_4mul == 0) {
    cout << "No" << endl;
  } else {
    cout << "Yes" << endl;
  }
  return 0;
}
