#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, a, nicnt = 0, cnt = 0;
  ;
  cin >> N;
  bool ans = false;
  for (int i = 0; i < N; i++) {
    cin >> a;
    if (a % 4 == 0)
      cnt++;
    else if (a == 2)
      nicnt++;
  }
  if ((nicnt > 0) && ((N - nicnt) % 2 == 0)) {
    N -= nicnt;
    if (cnt >= N / 2) ans = true;
  } else if ((nicnt > 0) && ((N - nicnt) % 2 == 1)) {
    N -= nicnt;
    if (cnt >= N / 2 + 1) ans = true;
  } else if (nicnt == 0) {
    if (cnt >= N / 2) ans = true;
  }
  if (ans)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
