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