#include <bits/stdc++.h>

using namespace std;

int main()
{
    int n,x,cnt1=0,cnt2=0;
    cin>>n;
    for(int i=0;i<n;i++)
    {
        cin>>x;
        if(x%4==0)
            cnt1++;
        else if(x%2==0)
            cnt2++;
    }
    cout<<(cnt1+cnt2/2>=(n/2)?"Yes":"No")<<endl;
    return 0;
}
