#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int cnt1 = 0, cnt2 = 0, cnt = 0;
  for (int i = 0; i < n; i++) {
    int a;
    cin >> a;
    if (a % 4 == 0) {
      cnt1++;
    } else if (a % 2 == 0) {
      cnt2++;
    } else {
      cnt++;
    }
  }
  cnt1 *= 2;
  cnt1 -= cnt;
  if (cnt1 >= 0 && (cnt2 > 1 || cnt2 == 0)) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
