#include <stdio.h>
 
int main(int argc, char *argv[])
{
	int i, N, kisu = 0, time2 = 0, time4 = 0;
	scanf("%d", &N);
	for ( i = 0; i < N; i++ ){
		int a;
		scanf("%d", &a);
		if ( a%2 == 1 )
			kisu++;
		else
			if( a%4 == 0 )
				time4++;
			else 
				time2++;
		}
	}
	if ( kisu > time4 + 1 )
		printf("No\n");
	else
		if ( kisu == time4 + 1 )
			if ( time2 > 0 )
				printf("No\n");
			else 
			printf("Yes\n");
		
		else 
			printf("Yes\n");
	}
	return 0;
}