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