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