#include <bits/stdc++.h>
using namespace std;
int main() {
  int n = 0;
  int four = 0;
  int two = 0;
  int other = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    int temp = 0;
    cin >> temp;
    if (temp % 4 == 0) {
      four++;
    } else if (temp % 2 == 0) {
      two++;
    } else {
      other++;
    }
  }
  if (two == 1) {
    other++;
  }
  if (four >= other - 1) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
