using System;
public class Hello{
    public static void Main(){
        int cnt4 = 0;
        int N = int.Parse(Console.ReadLine());
        string[] input = Console.ReadLine().Split(' ');
        int[] num = new int[N];
        
        for(int x = 0;x < N;x++){
            num[x] = int.Parse(input[x]);
            if(num[x] % 4 == 0){
                cnt4++;
            }
        }
        
        if(cnt4 >= N / 2){
            Console.WriteLine("Yes");
        }else{
            Console.WriteLine("No");
        }
    }
}
