#include <stdio.h>

int main(void) {
  int i, j, k, n, a = 0, b = 0, c = 0;
  scanf("%d", &n);
  for(i = 0; i < n; ++i) {
    scanf("%d", &k);
    if(!(k % 4)) c++;
    else if(!(k % 2)) b++;
    else a++;
  }
  if(b) c--;
  if(a <= c + 1) printf("Yes");
  else printf("No");
  return 0;
}