#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ll n;
  cin >> n;
  ll m2 = 0, m4 = 0;
  for (ll i = 0; i < n; i++) {
    ll a;
    cin >> a;
    if (a % 4 == 0)
      m4++;
    else if (a % 2 == 0)
      m2++;
  }
  cout << ((n <= 2 * m4 + 1 or (n - m2) / 2 <= m4) ? "Yes" : "No") << "\n";
}
