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

class Program
{
    public static void Main( )
    {
        int N = int.Parse( Console.ReadLine( ) );
        var A = Console.ReadLine( ).Split( ).Select( int.Parse ).ToArray( );
        int other = 0;
        int multipulsOf2 = 0;
        int multipulsOf4 = 0;

        for ( int i = 0; i < A.Length; i++ )
        {
            if ( A[ i ] % 4 == 0 ) multipulsOf4++;
            else if ( A[ i ] % 2 == 0 ) multipulsOf2++;
            else other++;
        }

        Console.WriteLine(  multipulsOf4 >= other-1 ? "Yes" : "No" );

    }




}