#include <iostream>
using namespace std;
int main(){
  int N,a=0,b=0,c=0,ans=0;
  cin>>N;
  int A[N];
  for(int i=0;i<N;i++){
    cin>>A[i];
    if(A[i]%4==0) a++;
    else if(A[i]%4==2) b++;
    else c++;
  }
  if(b>0){
    if(a>=c) ans=1;
  }else if(a-c+1>=0) ans=1;
  cout<<(ans?"Yes":"No")<<endl;
}