#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  int num_four = 0;
  int num_two = 0;
  for (long long i = 0; i < n; i++) {
    long long a;
    cin >> a;
    if (a % 4 == 0)
      num_four++;
    else if (a % 2 == 0)
      num_two++;
  }
  bool can = false;
  if (n % 2 == 0) {
    long long tmp_n = n;
    tmp_n -= num_two;
    tmp_n -= 3 * num_four;
    if (tmp_n <= -1) can = true;
  } else {
    long long tmp_n = n;
    tmp_n -= num_two;
    tmp_n -= 3 * num_four;
    if (tmp_n <= 0) can = true;
  }
  if (can)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
