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