>());
#define YES cout<<"YES"<< endl
#define NO cout<<"NO"<<endl
#define Yes cout<<"Yes"<<endl
#define No cout<<"No"<<endl  
#define yes cout<<"yes"<<endl
#define no cout<<"no"<<endl
#define ret return
#define C(i) cin>>i
#define C2(i,j) cin>>i>>j
#define C3(i,j,k) cin>>i>>j>>k
#define C4(i,j,k,m) cin>>i>>j>>k>>m
////////////////////////////////////////////////////////////

int main(){
  unsigned int n;
  cin >> n;

  unsigned int a[n];
  
  long long a1 = 0 , a2 =0, a4 = 0; 
  rep(i,0,n){

    cin >> a[i];
    if(a[i] %4  == 0 ){
      a4++;
    }else if(a[i] %2 == 0 ){
      a2++;
    }else{
      a1++;
    }
  }
  
  if(a4 - a1 < -1){
    No;

    //P("a");
  }else{
    if(a2 % 2 == 0){
      Yes;
      //P("b");
    }
    else{
      if(a4 - a1 >= 0){
        Yes;
        //P("c");
      }
      else{
        No;
        //P("d");
      }
    }
  }


  ret 0;

}