#include <stdio.h>
int main(void){
  int n,a,h[100000],i,n1=0,n2=0,n4=0;
  scanf("%d",&n);
  for (i=0;i<n;i++){
    scanf("%d",&a);
    if (a%4==0) n4++;
    else if (a%2==0) n2++;
    else n1++;
  }
  if (n2) printf("%s\n",(n1<=n4)? "Yes":"No");
  else printf("%s\n",(n1<=n4+1)? "Yes":"No");
  return 0;
}