#include <bits/stdc++.h>
int main() {
  int n = 0;
  int a[100000] = {};
  std::map<int, int> count;
  std::cin >> n;
  for (int i = 0; i < n; i++) {
    std::cin >> a[i];
  }
  for (int i = 0; i < n; i++) {
    if (a[i] % 2 == 0) {
      if (a[i] % 4 == 0) {
        count[3]++;
      }
      count[2]++;
    } else {
      count[1]++;
    }
  }
  if (count[3] >= count[1]) {
    std::cout << "Yes" << std::endl;
  } else {
    std::cout << "No" << std::endl;
  }
}
