#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  vector<int> input;
  int cnt[4] = {};
  cin >> n;
  int temp = n;
  while (temp--) {
    int x;
    cin >> x;
    input.push_back(x);
  }
  for (int i = 0; i < n; i++) {
    if (input[i] % 4 == 0)
      cnt[0]++;
    else if (input[i] == 1)
      cnt[1]++;
    else if (input[i] == 2) {
      cnt[2]++;
    } else
      cnt[3]++;
  }
  if (cnt[2] == 0) {
    if ((cnt[0]) >= (cnt[3] + cnt[1] - 1))
      cout << "Yes";
    else
      cout << "No";
  } else if (cnt[2] == 1) {
    if ((cnt[0]) >= (cnt[3] + cnt[1] + cnt[2] - 1))
      cout << "Yes";
    else
      cout << "No";
  } else {
    if ((cnt[0]) >= (cnt[3] + cnt[1]))
      cout << "Yes";
    else
      cout << "No";
  }
  return 0;
}
