#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int a[100000];
  int ni = 0, ans = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      ans += 3;
    } else if (a[i] % 2 == 0) {
      ni++;
    }
  }
  if (ans >= n) {
    cout << "Yes" << endl;
  } else if (n - ans <= ni) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
