#include <stdio.h>
#include <stdlib.h>

int main()
{
  int n, i;
  long long int *a;
  int four = 0;
  int even = 0;
  int odd = 0;

  scanf("%d", &n);

  a = malloc(sizeof(int) * n);

  for(i = 0; i < n; i++){
    scanf("%lld", &a[i]);
    if(a[i]%4 == 0){
      four++;
    }else if(a[i] % 4 == 2){
      even++;
    }else{
      odd++;
    }
  }

  if(four >= odd || even+odd >= four + 1){
    printf("Yes");
  }else{
    printf("No");
  }
  return 0;
}
