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