#include<bits/stdc++.h>
using namespace std;
int main(){
  int n;
  cin >> n;
  long a[n];
  int i;
  int cnt = 0;
  int cnt4 = 0;
  for(i=0;i<n;i++){
    cin >> a[i];
    if(a[i]%2 ==0)cnt++;
    if(a[i]%4==0){
      cnt++;
      cnt4++;
    }
  }
  if(cnt >= n||cnt4 >= n/2)cout << "Yes";
  else cout << "No";
  
}