#include <bits/stdc++.h>
using namespace std;
int main() {
  int N = 0;
  int num = 0;
  vector<int> a;
  int kisu = 0;
  int gusu2 = 0;
  int gusu4 = 0;
  cin >> N;
  for (int i = 0; i < N; i++) {
    cin >> num;
    a.push_back(num);
    if (a[i] % 4 == 0) {
      gusu4++;
    } else if (a[i] % 2 == 0) {
      gusu2++;
    } else {
      kisu++;
    }
  }
  if (gusu4 >= N / 2) {
    cout << "Yes" << endl;
  } else if (gusu2 + gusu4 > N / 2 && gusu2 <= gusu4) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
