#include<bits/stdc++.h>
using namespace std;
signed main(){
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  string ans="Yes";
  int n,a,e=0,f=0,o=0;cin>>n;
  for(int i=0;i<n;i++){
    cin>>a;
    if(a%2){o++;}
    else if(a%4==0){f++;}
    else{e++;}
  }
  if(f<o-1){ans="No";}
  else if(f==o-1&&e!=0){ans="No";}
  cout<<ans;
}