#include <bits/stdc++.h>
using namespace std;
int ans[26];
int main() {
  int n;
  scanf("%d", &n);
  int r1 = 0, r2 = 0;
  for (int i = 0; i < n; i++) {
    int k;
    scanf("%d", &k);
    if (k % 4 == 0) {
      r1++;
    } else if (k % 2 == 0) {
      r2++;
    }
  }
  if (n <= r1 * 3) {
    printf("Yes");
  } else if (n <= r1 * 3 + r2 - 1) {
    printf("Yes");
  } else {
    printf("No");
  }
}
