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