#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  vector<int> a;
  int count[2] = {};
  cin >> n;
  for (int i = 0; i < n; i++) {
    int t;
    cin >> t;
    a.push_back(t);
  }
  for (int i = 0; i < n; i++) {
    if (a[i] % 4 == 0)
      count[0]++;
    else if (a[i] % 2 == 0)
      count[1]++;
  }
  if ((count[0] * 2 + count[1]) >= (n - 1))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
