#include <bits/stdc++.h>
using namespace std;
int four, two, one;
int n, a[100000];
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
      one++;
  }
  if (four > 0 && two == 0 && one == 0) {
    cout << "Yes" << endl;
  } else if (four == 0 && two > 0 && one == 0) {
    cout << "Yes" << endl;
  } else if (four == 0 && two == 0 && one > 0) {
    cout << "No" << endl;
  } else if (four > 0 && two > 0 && one == 0) {
    cout << "Yes" << endl;
  } else if (four == 0 && two > 0 && one > 0) {
    cout << "No" << endl;
  } else if (four > 0 && two == 0 && one > 0) {
    if (four >= one - 1) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else if (four > 0 && two > 0 && one > 0) {
    if (two == 1) {
      four--;
      two++;
    }
    if (four >= one - 1) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
}
