#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> a(n);
  int div2 = 0;
  int div4 = 0;
  for (int i = 0; i < n; i++) {
    cin >> a.at(i);
    if (a.at(i) % 4 == 0)
      div4++;
    else if (a.at(i) % 2 == 0)
      div2++;
  }
  int max = 0;
  if (div2 > 1)
    max = 2 * div4 + 1 + div2;
  else
    max = 2 * div4 + 1;
  if (max >= n)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
