import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int four = 0, two = 0;
		for(int i = 0; i < N; i++){
			int a = sc.nextInt();
			if(a%4 == 0)
				four++;
			else if(a%2 == 0)
				two++;
		}
		if(four >= N/2)
			System.out.println("Yes");
		else if(two >= N-four*2)
			System.out.println("Yes");
		else
			System.out.println("No");
	}
}