#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  int N;
  std::cin >> N;
  int a[N];
  int odd, even, four;
  odd = even = four = 0;
  for (size_t i = 0; i < N; i++) {
    std::cin >> a[i];
    if (a[i] % 4 == 0) {
      four++;
    } else if (a[i] % 2 == 0) {
      even++;
    } else {
      odd++;
    }
  }
  if (four >= odd || (four - 1 == odd && even == 0)) {
    std::cout << "Yes" << '\n';
  } else {
    std::cout << "No" << '\n';
  }
  return 0;
}
