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

int main(){
  int n; cin>>n;
  long long b1=0,b2=0,b4=0;
  for(int i=0;i<n;i++){
    long long a; cin>>a;
    if(a%4==0)b4++;
    else if(a%2==0)b2++;
    else b1++;
  }
  if(b2>0)cout<<(b1<=b4 ? "Yes" : "No");
  else cout<<(b1<=b4+1 ? "Yes" : "No");
}