#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int cnt = 0;
  int num;
  cin >> n;
  int c2 = 0;
  for (int i = 0; i < n; i++) {
    cin >> num;
    if (num % 4 == 0) cnt++;
    if (num == 2) c2++;
  }
  if (c2 % 2 == 0) {
    n = n - c2;
    if (c2 == 0) {
      int t = n / 2;
      if (cnt >= t)
        cout << "Yes" << endl;
      else
        cout << "No" << endl;
      return 0;
    }
    if (n % 2 == 0) {
      int t = n / 2;
      if (cnt >= t)
        cout << "Yes" << endl;
      else
        cout << "No" << endl;
    } else {
      int t = n / 2 + 1;
      if (cnt >= t)
        cout << "Yes" << endl;
      else
        cout << "No" << endl;
    }
  } else {
    if (n % 2 == 0) {
      int t = n / 2;
      if (cnt >= t)
        cout << "Yes" << endl;
      else
        cout << "No" << endl;
    } else {
      int t = n / 2 + 1;
      if (cnt >= t)
        cout << "Yes" << endl;
      else
        cout << "No" << endl;
    }
  }
  return 0;
}
