#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1e9 + 7;
int main() {
  ios_base::sync_with_stdio(false), cin.tie(0);
  ;
  int n;
  cin >> n;
  int A[n];
  int working = 0;
  int evens = 0;
  for (int i = 0; i < n; i++) {
    cin >> A[i];
    if (A[i] % 4 == 0) {
      working++;
    }
    if (!((A[i]) % (2))) {
      evens++;
    }
  }
  evens -= working;
  if (working >= n / 2) {
    cout << "Yes\n";
  } else {
    if (evens > 1 && working >= (n - evens) / 2) {
      cout << "Yes\n";
    } else {
      cout << "No\n";
    }
  }
  return 0;
}
