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

int main()
{
  int n,a=0,b=0;
  cin>>n;
  vector<int> v(n);
  for(int &i:v) cin>>i;
  for(int i:v)
  {
    if(i%4==0)
      a++;
    else if(i%2==0)
      b++;
  }
  if(n/2<=a+(b/2))
    cout<<"Yes";
  else
    cout<<"No";
  return 0;
}