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

namespace AtCoder.Abc
{
    class QuestionD
    {
        public static void Main(string[] args)
        {
            var sw = new System.IO.StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
            Console.SetOut(sw);

            //// 文字列の入力
            //string s = Console.ReadLine();

            //// 整数の入力
            //long n = long.Parse(Console.ReadLine());

            //// 文字列配列の入力
            //string[] inputStrArray = Console.ReadLine().Split(' ');

            //// 整数配列の入力
            //var inputLongArray = Console.ReadLine().Split(' ').Select(i => long.Parse(i)).ToArray();

            long n = long.Parse(Console.ReadLine());
            var datas = Console.ReadLine().Split(' ').Select(i => long.Parse(i)).ToArray();

            long count = 0;
            long count2 = 0;
            long length = datas.Count();

            foreach (var a in datas) {
                if (a % 4 == 0) {
                    count++;
                    continue;
                }

                if (a % 2 == 0) {
                    count2++;
                }
            }

            string result = "";
            var is2 = length % 2 == 0;
            var count22 = count2 % 2== 0;

            if (length / 2 <= count) {
                result = "Yes";
            } else if (is2 && count22 && (length / 2 <= count + 1) && count2 >= 2) {

                result = "Yes";

            } else if (!is2 && count22 && (length / 2 <= count) && count2 >= 2) {
                result = "Yes";

            } else {
                 result = "No";
            }

            Console.WriteLine(result);

            Console.Out.Flush();
        }
    }
}
