#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  long long int N;
  cin >> N;
  vector<long long int> a(N);
  vector<bool> able_divided_by_only_two(N, false);
  long long int num_of_two = 0;
  long long int num_of_four = 0;
  vector<bool> able_divided_by_four(N, false);
  for (size_t i = 0; i < a.size(); i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      able_divided_by_four[i] = true;
      num_of_four++;
    } else if (a[i] % 2 == 0) {
      able_divided_by_only_two[i] = true;
      num_of_two++;
    }
  }
  if (num_of_two % 2 == 0) {
    if (N - num_of_four - num_of_two > num_of_four * 2) {
      cout << "No" << endl;
      return 0;
    } else {
      cout << "Yes" << endl;
      return 0;
    }
  } else {
    if (N - num_of_four - num_of_two + 1 > num_of_four * 2) {
      cout << "No" << endl;
      return 0;
    } else {
      cout << "Yes" << endl;
      return 0;
    }
  }
  return 0;
}
