#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n, m = 0, t = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    int s;
    cin >> s;
    if (s % 4 == 0)
      m++;
    else if (s % 2 == 0) {
      n--;
      t = 1;
    }
  }
  if (t == 0) {
    if (n / 2 + (n == 1) <= m)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    if ((n + 1) / 2 <= m)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
}
