#include <bits/stdc++.h>
using namespace std;
using pii = pair<int, int>;
template <class... T>
void input__(T &...a) {
  for (auto v : {&a...}) {
    cin >> *v;
  }
}
void output__() { cout << endl; }
template <class Head, class... T>
void output__(Head const &v, T const &...a) {
  if (sizeof...(a) == 0) {
    cout << v;
  } else {
    cout << v << " ";
  }
  output__(a...);
}
int main() {
  long n;
  input__(n);
  ;
  long a[(n)];
  for (int(i) = 0; (i) < (n); (i)++) cin >> a[i];
  ;
  int n4 = 0;
  int n2 = 0;
  for (int(i) = 0; (i) < (n); (i)++) {
    if (a[i] % 4 == 0) {
      n4++;
    } else if (a[i] % 2 == 0) {
      n2++;
    }
  }
  int other = n - n4;
  if (other <= 2 * n4) {
    output__("Yes");
    ;
  } else {
    if (n2 % 2 == 0) {
      output__("Yes");
      ;
    } else if (n4 - (other - n2) * 2 >= 1) {
      output__("Yes");
    } else {
      output__("No");
      ;
    }
  }
}
