#include <bits/stdc++.h>
int can4;
int can2;
int N;
int main() {
  std::cin >> N;
  for (int i = 0; i < N; i++) {
    int a;
    std::cin >> a;
    if (a % 4 == 0) {
      can4++;
    } else {
      can2++;
    }
  }
  if ((N - 1) / 2 <= can4) {
    std::cout << "Yes"
              << "\n";
  } else if (can4 * 2 + can2 > N) {
    std::cout << "Yes"
              << "\n";
  } else {
    std::cout << "No"
              << "\n";
  }
  return 0;
}
