#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, a, sum;
  cin >> n;
  long long A[3] = {};
  for (int i = 0; i < n; i++) {
    cin >> a;
    if (a % 2 == 0) {
      a /= 2;
      if (a % 2 == 0) {
        A[0]++;
      } else {
        A[1]++;
      }
    } else {
      A[2]++;
    }
  }
  if (A[2] <= A[0]) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
