            #include<iostream>
             using namespace std;
             int main(){
             int N,a[1000000],ans=1,r,count=0,count1=0;
             cin>>N;
             for(int i=0;i<N;i++){
            cin>>a[i];
            if(a[i]%4==0)count++;
             ans=ans*a[i];
        if(i>0){
        if(a[0]*a[i]%4==0)count1++;
        }
              }
              r=ans%4;
            if(count>0){ 
            if(count=>N-2||count1>count){
            cout<<"Yes"<<endl;
            }
            else{
            cout<<"No"<<endl;
            }
            }
            else{
            if(r==0){
            cout<<"Yes"<<endl;
            }
            else{
            cout<<"No"<<endl;
            }
            }
            return 0;
             }