#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n;
  int i;
  int temp;
  int a = 0, b = 0;
  cin >> n;
  for (i = 0; i < n; i++) {
    cin >> temp;
    if (temp % 4 == 0) {
      a++;
    } else if (temp % 2 == 0) {
      b++;
    }
  }
  n = n - a * 3;
  if (b >= 2) n = n - b;
  if (n <= 0) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
