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

int main(){
  int N;
  cin >> N;
  int even=0;
  int fourt=0;
  for(int i=0; i<N; i++){
    int a;
    cin >> a;
    if(a%4==0) fourt++;
    else if(a%2==0) even++;
  }
  string ans="No";
  if(fourt>=N/2) ans="Yes";
  else if(fourt*2+even>=N) ans="Yes";
  cout << ans << endl;
}