#include<bits/stdc++.h>
using namespace std;
int main(){
  int n,a,n4=0,n2=0;
  cin>>n;
  for(int i=0;i<n;i++){
    cin>>a;
    if(a%4==0)
      n4++;
    else if(a%2==0)
      n2++;
  }
  if(n/2<=n4+n2/2)
    cout<<"Yes";
  else
    cout<<"No";
}