#include<bits/stdc++.h> 
using namespace std;
int main(){
	int n;
	
	while (scanf("%d",&n)!=EOF)
	{
		int four=0,two=0,one=0;
		int a[n];
		for(int i=0;i<n;i++)
		{
			cin>>a[i];
			if(a[i]%4==0) four++;
			else if(a[i]%2==0) two++;
			else one++;
		}
		if(one>four+1||(one==four+1&&two!=0))  printf("No\n");
		else  printf("Yes\n");
	}
	return 0;
}