#include<iostream>

using namespace std;

int main()
{
    int n,i,j,sum,x;
    cin>>n;
    sum=0;
    int t=0;
    for (i=1;i<=n;i++)
    {
        cin>>x;
        if (x%4==0) sum++;
        else if (x%2==0) t++;
    }
    if (t>1) 
    {
        n-=t;
        if (n%2) n++;
    }
    if (sum>=n/2) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
}
