#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int odd = 0;
  int even4 = 0;
  int a;
  for (int i = 0; i < N; ++i) {
    cin >> a;
    if (a % 2 == 1) {
      odd++;
    } else if (a % 4 == 0) {
      even4++;
    }
  }
  if (even4 == 0 && odd != 0) {
    cout << "No" << endl;
    return 0;
  }
  int need_even4 = min(odd, N - odd);
  if (need_even4 <= even4) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
