#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  int N, counter = 0, ni = 0, normal = 0;
  scanf("%d", &N);
  std::vector<int> A(N);
  for (int i = 0; i < N; i++) {
    std::cin >> A[i];
    if (A[i] % 4 == 0) {
      ++counter;
    } else if (A[i] == 2) {
      ++ni;
    } else {
      ++normal;
    }
  }
  if ((ni == 0 && counter + 1 >= normal) || (ni > 0 && counter >= normal)) {
    printf("Yes\n");
  } else {
    printf("No\n");
  }
  return 0;
}
