#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9 + 7;
int main() {
  int n;
  cin >> n;
  vector<int> a(n);
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  int count2 = 0;
  int count4 = 0;
  for (int i = 0; i < n; i++) {
    if (a[i] % 4 == 0) {
      count4++;
    } else {
      if (a[i] % 2 == 0) {
        count2++;
      }
    }
  }
  count2 = count2 / 2 * 2;
  if (count2 * 2 + count4 * 4 >= n / 2 * 4) {
    if (count2 + count4 <= 6) {
      cout << "Yes" << endl;
      return 0;
    }
  }
  cout << "No" << endl;
}
