#include <bits/stdc++.h>
int main() {
  int n;
  scanf("%d", &n);
  int foge = n / 2;
  int counter4 = 0;
  int counter2 = 0;
  for (int i = 0; i < n; i++) {
    int x;
    scanf("%d", &x);
    if (x % 4 == 0) {
      counter4++;
    } else if (x % 2 == 0) {
      counter2++;
    }
  }
  counter4 = counter4 + (counter2 / 2);
  if (counter4 >= foge) {
    printf("Yes");
  } else {
    printf("No");
  }
}
