#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, t, i;
  vector<int> a4, a2, a0;
  cin >> n;
  for (i = 0; i < n; i = i + 1) {
    cin >> t;
    if (t % 4 == 0)
      a4.push_back(t);
    else if (t % 2 == 0)
      a2.push_back(t);
    else
      a0.push_back(t);
  }
  if (a2.size() == 0) {
    if (a4.size() == a0.size() || a4.size() + 1 == a0.size())
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    if (a4.size() == a0.size())
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
