#include<iostream>
using namespace std;
int main()
{
    int n;
    int a[5000];
    //z:4で割り切れる　　　x:他
    int z=0,y=0;

    cin>>n;
    for(int i=0;i<n;i++)
    {
        cin>>a[i];
        if(a[i]%4==0)
        {
            z++;
        }
        else
        {
            x++;
        }
    }

    if(y==0)
    {
        if(x<=z+1)
        {
            cout<<"Yes"<<endl;
        }
        else
        {
            cout<<"No"<<endl;
        }
    }
    else
    {
        if(x<=z)
        {
            cout<<"Yes"<<endl;
        }
        else
        {
            cout<<"No"<<endl;
        }
    }

}