#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, arr[100005], nep = 0, krat = 0;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &arr[i]);
    if (arr[i] % 2 == 1) {
      nep++;
    }
    if (arr[i] % 4 == 0) {
      krat++;
    }
  }
  if (nep - krat <= 1) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
