#include <bits/stdc++.h>
int main() {
  int n;
  scanf("%d", &n);
  int ai;
  int a = 0;
  int b = 0;
  int c = 0;
  for (int i = 0; i < n; i++) {
    scanf("%d", &ai);
    if (ai % 4 == 0) {
      a++;
    } else if (ai % 4 == 2) {
      b++;
    } else {
      c++;
    }
  }
  int d = b / 2;
  if ((b % 2 == 0 && c - a <= 1 + d) || (b % 2 == 1 && c - a <= d)) {
    printf("Yes");
  } else {
    printf("No");
  }
  return 0;
}
