#include <iostream>
#include <stdio.h>
#include <string.h>
using namespace std;
int main(void){
    int a=0,b=0;
  int n;
  cin>>n;
  for(int i=0;i<n;i++){
      int x;
      cin>>x;
      if(x%2==1)a++;
      else if(x%4==0)b++;
  }
  if(a<=b||(a==b+1&&a+b==n))cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
}
