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