using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            int length = int.Parse(Console.ReadLine());
            string[] input = Console.ReadLine().Split(' ');
            int[] nums = new int[input.Length];
            for(int i = 0; i < input.Length; i++)
            {
                nums[i] = int.Parse(input[i]);
            }
            //int[] canFour = new int[1];
            //int[] canTwo = new int[1];
            int fourCount = 0;
            int twoCount = 0;
            int odd = 0;
            foreach(int n in nums)
            {
                if(n % 4 == 0)
                {
                   // canFour[fourCount] = n;
                    fourCount++;
                }else if(n % 2 == 0)
                {
                    //canTwo[twoCount] = n;
                    twoCount++;
                }
                else
                {
                    odd++;
                }
            }
            if(fourCount >= (nums.Length / 2))
            {
                Console.WriteLine("Yes");
            }else if((fourCount + twoCount / 2) >= Math.Ceiling((double)nums.Length / 2))
            {
                Console.WriteLine("Yes");
            }
            else
            {
                Console.WriteLine("No");
            }
            
           
                
            
        }
    }
}
