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

namespace ConsoleApplication83
{
    class Program
    {
        static void Main(string[] args)
        {
            int a = int.Parse(Console.ReadLine());
            int[] b = new int[a];
            b = Console.ReadLine().Split().Select(int.Parse).ToArray();
            int c = (a - 1)*2;
            int multi=0;
            int exc=0;
            int exp = 0;
            for (int d = 0; d < a; d++)
            {
                if (b[d] % 4 == 0)
                    multi += 1;
                else if (b[d] % 2 == 0)
                    exc += 1;
                else  exp+=1;
            }
            if (multi == 0 && exp == 0)
                Console.WriteLine("Yes");
            if (multi > 0)
            {
                if (exc > 0){
                    if (multi >= exp + 1)
                        Console.WriteLine("Yes");
                    else Console.WriteLine("No");}
                if (exc == 0){
                    if (multi + 1 >= exp)
                        Console.WriteLine("Yes");
                    else Console.WriteLine("No");}
            }
            else Console.WriteLine("No");

            }



        }
    }
}
