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