#include<iostream>
using namespace std;
int main()
{
    int n,i,j=0,s=0,m=0;
    cin>>n;
    int a[n];
    for(i=0;i<n;i++)
    {   cin>>a[i];
        if(a[i]%4==0) j++;
        else if(a[i]%2==0) s++;
        else m++;
    }
    if(j>=m||(j-m==-1)&&s==0) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
    return 0;
}
