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