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