#include <bits/stdc++.h>
using namespace std;
#define REP(i,n) for(int(i)=0;i<(n);i++)

int main(){
  int n,tmp,num2=0;cin>>n;
  REP(i,n){
    cin>>tmp;
    if(!(tmp%4)) num2+=2;
    else if(!(tmp%2)) num2++;
  }
  cout<<((!(n%2)&&num2>=n)||((n%2)&&num2>=n-1)?"Yes":"No");
}