#include <bits/stdc++.h>
template <class T>
inline T chmax(T& a, const T b) {
  return a = (a < b) ? b : a;
}
template <class T>
inline T chmin(T& a, const T b) {
  return a = (a > b) ? b : a;
}
using ll = long long;
using ull = unsigned long long;
using ld = long double;
const ll MOD = 1000000007;
const ll INF = 1e18;
const double PI = acos(-1);
using namespace std;
signed main() {
  ll N;
  cin >> N;
  vector<ll> A(N);
  for (ll i = 0; i < ll(N); ++i) cin >> A[i];
  vector<ll> cnt(3, 0);
  for (ll i = 0; i < ll(N); ++i) {
    if (A[i] % 4 == 0)
      cnt[0]++;
    else if (A[i] % 2 == 0)
      cnt[1]++;
    else
      cnt[2]++;
  }
  bool ans = false;
  N -= cnt[1];
  if (N == 0) ans = true;
  if (N <= cnt[0] * 2) ans = true;
  ans ? cout << "Yes" << endl : cout << "No" << endl;
  return 0;
}
