#include <bits/stdc++.h>
using namespace std;

int main(){
  int n;
  cin>>n;

  int r1=0, r4=0;
  for(int i=0; i<n; i++){
    int x;
    cin>>x;
    if(x%2==1)r1++;
    if(x%4==0)r4++;
  }

  if(r1<=r4)cout<<"Yes"<<endl;
  else if(r1-1==r4 && r1+r4==n)cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
}