#include<iostream>
using namespace std;
int main(){
  long long n,a,cnt=0,cnt2=0;
  cin>>n;
  for(int i=0;i<n;i++){
    cin>>a;
    if(a%4==0)cnt++;
    else if(a%2==0)cnt2++;
  }
  if(cnt>=n/2)cout<<"Yes";
  else if(cnt>=(n-cnt2+1)/2)cout<<"Yes";
  else cout<<"No";
  return 0;
}

