using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
using static System.Math;

namespace AtCodeeeer
{
    class AtCOOOOOOOOOOOder
    {
        //いつもの
        readonly static long mod = 1000000000 + 7;
        static void Main(string[] args)
        {
            int n = int.Parse(ReadLine());
            long[] s = ReadLine().Split(' ').Select(long.Parse).ToArray();
            int cnt4 = 0;int cnt2 = 0;
            for (int i = 0; i < s.Length; i++)
            {
                if (s[i] % 4 == 0)
                {
                    cnt4++;
                }
                else if (s[i] % 2 == 0)
                {
                    cnt2++;
                }
            }
            int tmp = cnt4 * 3;
            WriteLine(
                tmp + cnt2 >= n ? "Yes":"No"
                );
        }
    }
}