#include <bits/stdc++.h>
using namespace std;
bool compare_by_b(pair<long long, long long> a, pair<long long, long long> b) {
  if (a.second != b.second) {
    return a.second < b.second;
  } else {
    return a.first < b.first;
  }
}
signed main() {
  long long x = 0, y = 0, z = 0, w = 0, n = 0, m = 0;
  std::cin >> x;
  for (long long i = 0; i < (long long)(x); ++i) {
    std::cin >> y;
    if (y % 4 == 0)
      z++;
    else if (y % 2 == 0)
      w++;
    else
      n++;
  }
  if (n + w % 2 <= z * 2) {
    std::cout << "Yes" << '\n';
  } else {
    std::cout << "No" << '\n';
  }
}
