import java.util.Scanner;
//import java.util.Map;
//import java.util.HashMap;

public class Main{
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int tmp;
		int count=0;
		for(int i=0;i<n;i++){
			tmp = in.nextInt();
			if(tmp%4==0)
				count+=2;
			else
				if(tmp%2==0)
					count++;
		}
		if(count>=n/2*2)
			System.out.println("Yes");
		else
			System.out.println("No");
	}
}
