#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int mod[4];
  for (int i = 0; i < 4; i++) {
    mod[i] = 0;
  }
  for (int i = 0; i < n; i++) {
    int v;
    cin >> v;
    mod[v % 4]++;
  }
  if (2 * mod[0] < mod[1] + mod[3]) {
    cout << "No";
    exit(0);
  }
  if (2 * mod[0] == mod[1] + mod[3] && mod[2] != 0) {
    cout << "No";
    exit(0);
  }
  cout << "Yes";
}
