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