#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n, cnt1 = 0, cnt2 = 0;
  cin >> n;
  vector<int> a(n);
  for (int i = (int)(0); i < (int)(n); ++i) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      cnt1++;
    } else if (a[i] % 2 == 0) {
      cnt2++;
    }
  }
  if (cnt2 > 1) n -= cnt2 - 1;
  if (cnt1 >= n / 3.0) {
    printf(
        "Yes"
        "\n");
  } else {
    printf(
        "No"
        "\n");
  }
}
