#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long n;
  long long ok = 0, no = 0;
  long long cnt_2 = 0;
  long long cnt_10 = 0;
  cin >> n;
  for (long long i = 0; i < n; i++) {
    long long tmp;
    cin >> tmp;
    if (tmp % 4 == 0) {
      ok++;
    } else {
      no++;
      if (tmp == 2) {
        cnt_2++;
      } else if (tmp == 10) {
        cnt_10++;
      }
    }
  }
  no -= (cnt_2 / 2) * 2;
  no -= (cnt_10 / 2) * 2;
  cnt_2 -= (cnt_2 / 2) * 2;
  cnt_10 -= (cnt_10 / 2) * 2;
  if (cnt_2 == 1 && cnt_10 == 1) {
    no--;
  }
  if (no - 1 <= ok) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
