#include<bits/stdc++.h>
using namespace std;
int main(){
  int N;cin>>N;
  int yon=0;int kisuu=0;int ni=0;
  //vector<int> a(N);
  for(int i=0;i<N;i++){
    int a;
    cin>>a;
    if(a%4==0)yon++;
    else if(a%2==0)ni++;
    if(a%2==1)kisuu+;
  }
  if(N%2==0){
    if(yon>=kisuu)
      cout<<"Yes"<<endl;
    else
      cout<<"No"<<endl;
  }else{
    if(yon+1>=kisuu)
      cout<<"Yes"<<endl;
    else
      cout<<"No"<<endl;
  }

  return 0;
}
