#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  long long int n;
  cin >> n;
  vector<long long int> a(n);
  for (size_t i = 0; i < n; i++) cin >> a[i];
  vector<long long int> vodd, v2, v4;
  for (size_t i = 0; i < n; i++) {
    if (a[i] % 4 == 0)
      v4.push_back(a[i]);
    else if (a[i] % 2 == 0)
      v2.push_back(a[i]);
    else
      vodd.push_back(a[i]);
  }
  if (v4.size() * 2 >= v2.size() + vodd.size() ||
      (v4.size() * 2 >= (vodd.size() + v2.size() % 2) and v2.size() >= 2))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
