#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<int> v(N);
  for (int i = 0; i < N; ++i) {
    cin >> v[i];
  }
  int cnt4 = 0, cnt2not4 = 0, cntother = 0;
  for (int i = 0; i < N; ++i) {
    if (v[i] % 4 == 0)
      cnt4++;
    else if (v[i] % 4 != 0 && v[i] % 2 == 0)
      cnt2not4++;
  }
  cntother = N - (cnt4 + cnt2not4);
  if (cnt4 >= N / 2)
    cout << "Yes" << endl;
  else if (cnt4 >= cntother - 1 && cnt2not4 > 1)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
