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