#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  cout << fixed << setprecision(18);
  ll n;
  cin >> n;
  ll m2 = 0, m4 = 0;
  vector<ll> a(n);
  for (ll i = (0); i < (n); i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      m4++;
    else if (a[i] % 2 == 0)
      m2++;
  }
  bool ans = false;
  if (m4 >= n / 2)
    ans = true;
  else if (m2 >= 2 and n - (2 * m4 + 1) <= m2)
    ans = true;
  cout << (ans ? "Yes" : "No") << "\n";
}
