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