import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int front = 0;
        int back = N+1;
        String result = "No";
        for(int i = 0; i < N; i++){
            long temp = sc.nextLong();
            if(temp%4 ==0){
                front+= 2;
            }else if(temp%2 == 0){
                back-=1;
            }
        }
        if(front+1 >= Math.min(back,N)){
            result = "Yes";
        }
        System.out.println(result);
    }
}