#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, a[100005];
  int mzero = 0, mone = 0, mtwo = 0;
  cin >> N;
  for (int i = 0; (i) < (N); (i)++) {
    cin >> a[i];
    if (a[i] % 2 == 1)
      mzero++;
    else if (a[i] % 4 != 0)
      mone++;
    else if (a[i] % 4 == 0)
      mtwo++;
  }
  if (mzero == 0) {
    cout << "Yes" << endl;
  } else if (mtwo >= (N + 3 - 1) / 3) {
    cout << "Yes" << endl;
  } else if (mzero <= mtwo * 2 - 1) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
