using System;
using System.Linq;

namespace ABC069_C
{
    class Program
    {
        static void Main(string[] args)
        {
            var N = int.Parse(Console.ReadLine());
            var a = Console.ReadLine().Split().Select(int.Parse).ToArray();

            var cntFour = 0;
            var cntTwo = 0;
            for (int i = 0; i < N; i++)
            {
                if (a[i] % 4 == 0)
                {
                    cntFour++;
                }
                else if (a[i] % 2 == 0)
                {
                    cntTwo++;
                }
            }

            if (cntTwo % 2 == 1) cntTwo--;

            var achieve = N - 2 * cntFour - cntTwo < 1;
            Console.WriteLine(achieve ? "Yes" : "No");
        }
    }
}
