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