using System.Collections.Generic;
using System.Linq;
using System;
class Program
{
	static void Main()
	{
		var countStr = Console.ReadLine();
        int count = int.Parse(countStr);

        var line = Console.ReadLine();
        string[] array = line.Split(' ');

        uint fourM = 0;
        uint twoM = 0;
        uint notM = 0;

        for (int i = 0; i < count; i++){
            int num = int.Parse(array[i]);
            if(num % 4 == 0){
                fourM++;
            }else{
                if (num % 2 == 0)
                {
                    twoM++;
                }else{
                    notM++;
                }
            }
        }

        fourM += twoM / 2;
        notM += twoM % 2;

        if (fourM >= notM - 1){
            Console.WriteLine("Yes");
        }else{
            Console.WriteLine("No");
        }
    }
}