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