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