#include <bits/stdc++.h>
using namespace std;
using P = pair<int, int>;
int main() {
  int n;
  cin >> n;
  vector<int> a(n);
  for (int i = 0; i < n; i++) cin >> a[i];
  int f, t, odd;
  for (int i = 0; i < n; i++) {
    if (a[i] % 4 == 0)
      f++;
    else if (a[i] % 2 == 1)
      odd++;
  }
  t = n - f - odd;
  if (f == odd) {
    cout << "Yes" << endl;
    return 0;
  }
  if (n == t) {
    cout << "Yes" << endl;
    return 0;
  }
  if (n % 2 == 1 && n / 2 == f && n / 2 + 1 == odd) {
    cout << "Yes" << endl;
    return 0;
  }
  cout << "No" << endl;
  return 0;
}
