import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int count_two = 0;
		int count_four = 0;

		for(int i = 0; i < N; i++) {
			int input = sc.nextInt();
			if(input == 2) {
				count_two++;
			}
			if(input % 4 == 0) {
				count_four++;
			}
		}

		count_four += count_two / 2;

		if(count_four >= N / 2) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	}
}