#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<int> A(N);
  int c4 = 0;
  int c2 = 0;
  for (int& a : A) {
    cin >> a;
    if (a % 4 == 0) c4++;
    if (a % 2 == 0) c2++;
  }
  if (c4 + c2 / 2 >= N / 2)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
