#include <bits/stdc++.h>
using namespace std;
int n, a[100005];
int odd, two, four;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  cin >> n;
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
    if (a[i] % 2)
      odd++;
    else {
      if (a[i] % 4)
        two++;
      else
        four++;
    }
  }
  if (n / 2) {
    if (four + two > n / 2 || two == n || four >= n / 2) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else {
    if (two + four >= n / 2 || four >= n / 2 || two == n) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
  return 0;
}
