using System;
using System.Linq;
using System.Collections.Generic;

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

            var perFour = a.Count(z => z % 4 == 0);
            var oddCount = a.Count(z => z % 2 == 1);
            var perTwo = a.Count(z => z == 2);

            if (perTwo == 0)
            {
                if (oddCount <= perFour + 1)
                    Console.WriteLine("Yes");
                else
                    Console.WriteLine("No");
            }
            else
            {
                if (oddCount <= perFour)
                    Console.WriteLine("Yes");
                else
                    Console.WriteLine("No");
            }

        }
    }
}
