#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, cnt2 = 0, cnt4 = 0;
  cin >> n;
  for (int i = 0; i < n; ++i) {
    cin >> a;
    if (a % 4 == 0)
      cnt4++;
    else if (a % 2 == 0)
      cnt2++;
  }
  int cnt1 = n - cnt2 - cnt4;
  if (cnt2 == 0) {
    cout << (cnt1 <= cnt4 + 1 ? "Yes" : "No") << endl;
  }
  if (cnt1 <= cnt4)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
