#include <bits/stdc++.h>
using namespace std;
template <typename T>
ostream& operator<<(ostream& os, const vector<T>& v) {
  os << "[";
  for (int i = 0; i < v.size(); ++i) {
    os << v[i];
    if (i != v.size() - 1) os << ", ";
  }
  os << "]";
  return os;
}
template <typename T>
void print(T v, string s = "\n") {
  cout << v << s;
}
template <typename T>
void in(T& v) {
  cin >> v;
}
int main() {
  int n;
  in(n);
  vector<long long> A(n);
  for (int i = 0; i < n; i++) in(A[i]);
  int cnt4 = 0;
  int cnt2 = 0;
  for (auto&& a : A) {
    if (a % 4 == 0)
      cnt4++;
    else if (a % 2 == 0)
      cnt2++;
  }
  int cnt = n - cnt2 / 2;
  if (cnt <= cnt4 * 2 + 1)
    print("Yes");
  else
    print("No");
  return 0;
}
