#include<iostream>

using namespace std;

int main(){
  int n, cnt2=0, cnt4=0;
  long long a;
  cin >> n;
  for(int i=0;i<n;i++){
    cin >> a;
    if(a%2==0)cnt2++;
    if(a%4==0)cnt4++;
  }
  cnt2-=cnt4;
  n-=cnt2+cnt4;
  cout<<(cnt4>=n || (cnt2==0 && cnt4>=n-1)?"Yes":"No") << endl;
}