#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a[100005];
  int count = 0;
  int counter = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      count++;
    }
    if (a[i] % 2 == 0 && a[i] % 4 != 0) {
      counter++;
    }
  }
  string ans = "No";
  if (n % 2 == 1 && count >= (n - 1) / 2) {
    ans = "Yes";
  }
  if (n % 2 == 0 && count >= n / 2) {
    ans = "Yes";
  }
  if (n % 2 == 0 && (count) + (counter) / 2 >= n / 2) {
    ans = "Yes";
  }
  cout << ans << endl;
  return 0;
}
