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