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