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