#include <string>
#include <vector>
#include <algorithm>
#include <limits.h>
typedef long long ll;
using namespace std;
int n;
int main(int argc,char const* argv[])
{
  cin >> n;
  int zerotimes=0,onetimes=0,moretimes=0;
  vector<ll> a(n,0);
  for(int i=0;i<n;i++)
    {
      cin >> a[i];
    }
  for(int i=0;i<n;i++)
    {
      if(a[i] % 2 ==0 && a[i] % 4 !=0) onetimes++;
      else if(a[i] % 4 ==0) moretimes++;
      else zerotimes++;
    }
  if(onetimes==0)
    {
      if(zerotimes<=(moretimes+1))
	{
	  cout << "Yes" << endl;
	  return 0;
	}
      else 
	{
	  cout << "No" << endl;
	  return 0;
	}
    }
  else
    {
      if(zerotimes<=(moretimes))
	{
	  cout << "Yes" << endl;
	  return 0;
	}
      else 
	{
	  cout << "No" << endl;
	  return 0;
	}
    }

  return 0;
}
