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