#include <bits/stdc++.h>
int main(){
int a=0,b=0,i,j,k,n;
scanf("%d",&n);
for(i=1;i<=n;i++){scanf("%d",&k);
if(k%4==0)a++;
else if(k%2==0)b++;
}
if((a*2+1>=n)||(a*2+b>=n))printf("Yes");
else printf("No");
return 0;
}

