#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, sum1 = 0, sum2 = 0;
  int t;
  cin >> t;
  while (t--) {
    cin >> n;
    if (n % 4 == 0) {
      sum1++;
    } else if (n % 2)
      sum2++;
  }
  if (sum1 >= sum2)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
