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