import java.util.Scanner;

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