#include <bits/stdc++.h>
using namespace std;
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main(void) {
  int n;
  cin >> n;
  vector<ll> a(n);
  for (int i = 0; i < (n); ++i) {
    cin >> a[i];
  }
  int count4 = 0;
  int count2 = 0;
  for (int i = 0; i < (n); ++i) {
    if (a[i] % 4 == 0) {
      count4++;
    } else if (a[i] % 2 == 0) {
      count2++;
    }
  }
  int countNot = n - count4 - count2;
  count2 %= 2;
  count4 -= countNot / 2;
  countNot %= 2;
  if (count4 * 2 >= count2 + countNot) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
