#include <bits/stdc++.h>
using namespace std;
int main() {
  long N;
  long two = 0;
  long four = 0;
  scanf("%lld", &N);
  vector<long> num(N);
  for (int i = 0; i < N; i++) {
    scanf("%d", &num.at(i));
  }
  for (int i = 0; i < N; i++) {
    if (num.at(i) % 2 == 0) {
      two++;
    }
    if (num.at(i) % 4 == 0) {
      two--;
      four++;
    }
  }
  if (N <= 2 * four + two) {
    printf("%s", "Yes");
  } else {
    printf("%s", "No");
  }
  return 0;
}
