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