#include <bits/stdc++.h>
using namespace std;
int main(void) {
  long N;
  cin >> N;
  long a[N];
  for (int i = 0; i < N; i++) {
    cin >> a[i];
  }
  long count2 = 0;
  long count4 = 0;
  for (int i = 0; i < N; i++) {
    if (a[i] % 4 == 0) {
      count4++;
    } else if (a[i] % 2 == 0) {
      count2++;
    }
  }
  if ((N - count2) / 2 >= count4) {
    cout << "Yes";
  } else {
    cout << "No";
  }
  return 0;
}
