#include<cstdio>
int main()
{
    int n,x,a[4]={0};
    scanf("%d",&n);
    while(n--)
    {
    	scanf("%d",&x);
    	a[x%4]++;
	}
	a[1]+=a[3];
	if(a[0]+1<a[1]) printf("No\n");
	else if((a[0]>=a[1]&&a[2])||a[2]==0) printf("Yes\n");
	else printf("No\n");
    return 0;
}