#include <bits/stdc++.h>
using namespace std;

int main() {
  int n; cin >> n;
  int two=0, four=0, other=0;
  for(int i=0; i<n; i++) {
    int a;
    cin >> a;
    if(a%4==0) four++;
    else if(a%2==0) two++;
    else other++;
  }
  if((two==0 && other==four+1) || four>=other) cout << "Yes" << endl;
  else cout << "No" << endl; 
  return 0; 
}