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

namespace CSharpConsoleApp {

    class Program {

        static int Main() {
            var N = int.Parse(Console.ReadLine());
            var input = Console.ReadLine().Split(' ').ToList().Select(a => int.Parse(a));
            var fourMen = input.Where(a => a % 4 == 0).Count();
            var twoMen = input.Where(a => a % 4 != 0 && a % 2 == 0).Count();
            if (fourMen * 2 + twoMen >= (int)(N / 2) + 1)
                Console.WriteLine("Yes");
            else
                Console.WriteLine("No");
            return 0;
        }
    }
}