#include <bits/stdc++.h>
using namespace std;
using ull = unsigned long long;
int main(int argc, char const* argv[]) {
  int n;
  cin >> n;
  int c1, c2, c4;
  c1 = c2 = c4 = 0;
  for (int i = 0; i < n; i++) {
    int a;
    cin >> a;
    if (a % 4 == 0) {
      ++c4;
    } else if (a % 2 == 0) {
      ++c2;
    } else {
      ++c1;
    }
  }
  if (c1 + c2 <= c4 * 2) {
    std::cout << "Yes" << std::endl;
  } else if (c2 % 2 == 0 && c1 <= c4 * 2) {
    std::cout << "Yes" << std::endl;
  } else {
    std::cout << "No" << std::endl;
  }
  return 0;
}
