#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n, a[100000], k, x1, x2, x4;
  x1 = 0;
  x2 = 0;
  x4 = 0;
  cin >> n;
  for (k = 0; k < n; k++) {
    cin >> a[k];
    if (a[k] % 4 == 0) {
      x4++;
    } else if (a[k] % 2 == 0) {
      x2++;
    } else {
      x1++;
    }
  }
  if (x2 != 0) {
    if (x4 >= x1 - 1) {
      cout << "Yes\n";
    } else {
      cout << "No\n";
    }
  } else {
    if (x4 >= x1) {
      cout << "Yes\n";
    } else {
      cout << "No\n";
    }
  }
  return 0;
}
