#include<iostream>
using namespace std;

int main(){
  int N;
  int a;
  int count=0;
  cin>>N;
  for(int i=0;i<N;i++){
    cin>>a;
    if(a%4==0)count+=2;
    else if(a%2==0)count++;
  }
  if(N%2==0){
    if(N-count<=0)cout<<"Yes";
    else cout<<"No";
  }else{
    if(N-count<=1)cout<<"Yes";
    else cout<<"No";
  }
  return 0;
}
