#include <bits/stdc++.h>
int main() {
  std::ios_base::sync_with_stdio(false);
  std::cin.tie(nullptr);
  int n;
  std::cin >> n;
  int fours = 0;
  int twos = 0;
  int a;
  for (int i = 0; i < n; i++) {
    std::cin >> a;
    if (a % 4 == 0) {
      fours++;
    } else if (a % 2 == 0) {
      twos++;
    }
  }
  int covered = (fours * 2 + 1);
  if (twos > 1) covered += twos;
  bool r = covered >= n;
  std::cout << (r ? "Yes" : "No") << std::endl;
}
