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

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