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