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