#include <stdio.h>

int main(void) {
  int N,a,i=0,two=0,zero=0,one=0;
  long long int A[100000];
  scanf("%d",&N);
  while(i<N){
    i++;
    scanf("%ld",&A[i]);
    a=A[i]%4;
    if(a==0){two++;}
    else if(a==1||a==3){zero++;}
    else{one++;}
  }
  if(one==0){zero--;};
  if(two>=zero){printf("Yes\n");}
  else{printf("No\n");}
  return 0;
}