#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  char a[4];
  cin >> n;
  a[0] = 0;
  a[1] = 0;
  a[2] = 0;
  a[3] = 0;
  long long int k;
  for (int i = 0; i < n; i++) {
    cin >> k;
    a[k % 4]++;
  }
  if (a[2] > 0) {
    a[2] = 1;
  }
  if (a[0] > (a[2] + a[1] + a[3]) / 2) {
    cout << "Yes";
  } else {
    cout << "No";
  }
}
