#include <bits/stdc++.h>
using namespace std;
const long long MX = 1e5 + 5, INF = 5 << 28, MOD = 1e9 + 7;
long long N, M, K;
vector<long long> A, B;
string S, T;
void input() {
  cin >> N;
  A.resize(N);
  for (long long i = (long long)(0); i <= (long long)(N - 1); ++i) {
    cin >> A[i];
  }
  long long x, y, z;
  ;
}
void solve() {
  long long yon = 0, ni = 0;
  for (auto x : A) {
    if (x % 4 == 0)
      yon++;
    else if (x % 2 == 0)
      ni++;
  }
  long long ki = N - yon;
  if (ni > 1) {
    ki -= ni - 1;
  }
  if (ni == 1) ki++;
  bool ans = (yon * 3 + max(ni - 1, 0LL)) >= N;
  ans = ki <= yon * 2;
  cout << (ans ? "Yes" : "No") << endl;
  ;
  ;
}
signed main() {
  input();
  solve();
  return 0;
}
