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