#include <bits/stdc++.h>
using namespace std;
int n, a[100000], two, four, none;
int main() {
  cin >> n;
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      four++;
    else if (a[i] % 2 == 0)
      two++;
    else
      none++;
  }
  if (four == 0 && none > 0) {
    cout << "No" << endl;
  } else if (two >= 2) {
    if (four + 1 >= none) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else if (two == 1) {
    if (four + 1 >= two + none) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else if (four + 1 >= none) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
