#include <bits/stdc++.h>
using namespace std;
void TFprint(bool b, std::string T, std::string F) {
  if (b) {
    cout << T << endl;
  } else {
    cout << F << endl;
  }
}
int main() {
  int N;
  cin >> N;
  int a;
  int div4 = 0, odd = 0;
  for (unsigned int i = 0; i < N; ++i) {
    cin >> a;
    if (a % 2 != 0) {
      odd++;
    } else if (a % 4 == 0) {
      div4++;
    }
  }
  TFprint(odd <= div4, "Yes", "No");
  return 0;
}
