#include <iostream>
#include <cstring>
#include <iostream>
#include <cmath>
#include <algorithm>
#include <vector>
using namespace std;
int main(){
  int n;
  cin >> n;
  int a[n], ans=0;
  for(i=0; i<n; i++){
    cin >> a[i];
    if(a[i]%4==0) ans+=2;
    else if(a[i]%2==0) ans++;
  }
  if(ans>=n) cout << "Yes";
  else cout << "No";
  return 0;
}
