#include <bits/stdc++.h>
using namespace std;
long long a[10001];
int B, C, D, E, F;
int N;
int main() {
  cin >> N;
  for (int i = 0; i < N; i++) {
    cin >> a[i];
    if (a[i] == 1)
      B += 1;
    else if (a[i] % 2 == 0) {
      if (a[i] % 4 == 0) {
        D += 1;
      } else {
        C += 1;
      }
    } else {
      F += 1;
    }
  }
  E = C % 2;
  if (B == 0) {
    if (E == 0)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  if (C == 0) {
    if (B == D - 1) cout << "Yes" << endl;
    if (B == D) cout << "Yes" << endl;
    if (B == D + 1)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  if (D == 0) {
    if (B == 0) {
      if (E == 0) cout << "Yes" << endl;
    } else
      cout << "No" << endl;
  }
  if (B > 0 && C > 0 && D > 0) {
    if (E == 0) {
      if (B == D - 1) cout << "Yes" << endl;
      if (B == D) cout << "Yes" << endl;
    }
    if (B == 1 && C == 1 && D == 1) {
      if (F == D / 2 || F < D / 2) {
        cout << "Yes" << endl;
      } else {
        cout << "No" << endl;
      }
    }
  }
  return 0;
}
