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

namespace arc080_a
{
    class Program
    {
        static void Main(string[] args)
        {
            var N = GetInt();
            var al = GetLongList();

            var c4 = 0; //4の倍数
            var c2 = 0; //4の倍数でない2の倍数
            var c1 = 0; //奇数

            for (int i = 0; i < N; i++)
                if (al[i] % 4 == 0) c4++;
                else if (al[i] % 2 == 0) c2++;
                else c1++;

            if ((c1 + 1 == c4 && c2 != 1) || c1 <= c4) Console.WriteLine("Yes");
            else Console.WriteLine("No");
　      }

        public static string GetStr() => Console.ReadLine();
        public static int GetInt() => int.Parse(Console.ReadLine());
        public static long GetLong() => long.Parse(Console.ReadLine());
        public static double GetDouble() => double.Parse(Console.ReadLine());
        public static decimal GetDecimal() => decimal.Parse(Console.ReadLine());

        public static List<string> GetStrList() => Console.ReadLine().Split(' ').ToList();
        public static List<int> GetIntList() => Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToList();
        public static List<long> GetLongList() => Console.ReadLine().Split(' ').Select(x => long.Parse(x)).ToList();
        public static List<double> GetDoubleList() => Console.ReadLine().Split(' ').Select(x => double.Parse(x)).ToList();
        public static List<decimal> GetDecimalList() => Console.ReadLine().Split(' ').Select(x => decimal.Parse(x)).ToList();

    }
}
