#include <bits/stdc++.h>
using namespace std;
const int max_n = 1e6;
long long a[max_n];
int main() {
  long long n;
  cin >> n;
  long long cnt4 = 0;
  long long cnt2 = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0 && a[i] > 0) cnt4++;
    if (a[i] == 2) cnt2++;
  }
  string s = "";
  if (n - cnt2 - cnt4 + cnt2 % 2 - 1 <= cnt4) {
    s += "Yes";
  } else {
    s += "No";
  }
  if (cnt4 == 0) {
    cout << "No" << endl;
    return 0;
  }
  cout << s << endl;
  return 0;
}
