#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  long long a[100001];
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
  }
  int c1 = 0;
  int c2 = 0;
  int c3 = 0;
  for (int i = 1; i <= n; i++) {
    if (a[i] % 4 == 0) {
      c1++;
    } else if (a[i] % 2 != 0) {
      c2++;
    } else {
      c3++;
    }
  }
  if (c1 == c2 || (((c1 - c2) == 1) && (c2 != 0)) ||
      ((c2 - c1) == 1 && c3 < 1)) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
