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