#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
ll a[100005];

int main()
{
    int i,x1,x2,x3,m;
    while(~scanf("%d",&m))
    {
        x1=0;
        x2=0;
        for(i=0; i<m; i++)
        {
            //cin>>a[i];
            scanf("%lld",a+i);
            if(a[i]%2==0) x1++;
            if(a[i]%4==0) x2++;
        }
        //cout<<x1<<' '<<x2<<endl;
        x1-=x2;
        x3=m-x1-x2;
        if(x3<=x2)
        {
            cout<<"Yes"<<endl;
        }
        else
        {
            cout<<"No"<<endl;
        }
    }
    return 0;
}