// C - 4-adjacent
#include <bits/stdc++.h>
using namespace std;
int in(){int x;scanf("%d",&x);return x;}

int main(){
	int N = in(), c2 = 0, c4 = 0;
	for(int a,i=0; i<N; ++i){
		a = in();
		if(!(a&3)) c4++; else if(!(a&1)) c2++;
	}
	puts(N <= c4*2 + c2 + (c2>0?0:1)? "Yes":"No");
}