#include<iostream>
using namespace std;

int main(void){
        int b1=0,b2=0,b4=0;
        int N,a;
        cin>>N;
        for(int i=0;i<N;i++){
                cin>>a;
                if(a%2==0){
                        if((a/2)%2==0)
                                b4++;
                        else
                                b2++;
                }
                else
                        b1++;
        }
        if(b2==0){
                if(b1<=b4+1)
                        cout<<"Yes"<<endl;
                else
                        cout<<"No"<<endl;
        }
        else{
                if(b1<=b4)
                        cout<<"Yes"<<endl;
                else
                        cout<<"No"<<endl;
        }

}
return 0;
}
