#include<iostream>
using namespace std;
int main(){
  int n,a,n2=0,n4=0;
  cin>>n;
  for(int i=0;i<n;i++){
    cin>>a;
    if(a%2==0){
      if(a%4==0)n4++;
      else n2++;
    }
  }
  cout<<(n-n2-n4<=n4||n/2<=n4?"Yes":"No")<<endl;
  return 0;
}