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