#include<bits/stdc++.h>
using namespace std;
int main(){
  int N;cin>>N;
  int t=0,f=0,n=0;
  vector<int>A(N);
  for(int i=0;i<N;i++){int a;cin>>a;f+=(a%4==0);t+=(a%4==2);}n=N-f-t;
  
  if(n+(t!=0)>f+1)cout<<"No";
  else cout<<"Yes";
}