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