#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int cnt = 0;
  vector<int> a, b, c;
  for (int i = 1; i <= n; ++i) {
    int x;
    cin >> x;
    if (x % 4 == 0)
      a.push_back(x);
    else if (x % 2 == 0)
      b.push_back(x);
    else
      c.push_back(x);
  }
  if (b.size() == 0 && c.size() > a.size() + 1)
    cout << "No" << endl;
  else if (c.size() > a.size())
    cout << "No" << endl;
  else
    cout << "Yes" << endl;
  return 0;
}
