using System;
using System.Numerics;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Collections;

namespace debug
{
    class main
    {
        static void Main(string[] args)
        {
            //問題クラスを展開
            ProgramC a = new ProgramC();
            a.main();//実行する

        }

    }

    class ProgramA
    {
        public void main()
        {

            string[] s = Console.ReadLine().Split(' ');

            Console.WriteLine((int.Parse(s[0]) - 1) * (int.Parse(s[1]) - 1));


        }
    }

    class ProgramB
    {
        public void main()
        {

            string s = Console.ReadLine();

            Console.WriteLine(s[0] + (s.Length - 2).ToString() +s[s.Length -1]);


        }
    }

    class ProgramC
    {
        public void main()
        {
            int n = int.Parse(Console.ReadLine());
            string[] a = Console.ReadLine().Split(' ');

            int count4 = 0;
            int count2 = 0;

            for (int i = 0; i < n;i++)
            {
                if (long.Parse(a[i]) % 4 == 0)
                    count4++;
                else if(long.Parse(a[i]) % 2 == 0)
                    count2++;
            }


            if (count4 > n / 2)
            {
                Console.WriteLine("Yes");
                return;
            }

            if(count4 != 0)
            {
                if (2 * count4 + 1 + count2 >= n)
                {
                    Console.WriteLine("Yes");
                    return;
                }
            }
            else
            {
                if (count2 == n)
                {
                    Console.WriteLine("Yes");
                    return;
                }

            }

            Console.WriteLine("No");


        }
    }

}




