#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vll = vector<ll>;
using pii = pair<int, int>;
using tiii = tuple<int, int, int>;
const ll mod = 1e9 + 7;
const int INF = (1 << 30) - 1;
const ll INFLL = (1LL << 62) - 1;
const int dx[4] = {1, 0, -1, 0};
const int dy[4] = {0, 1, 0, -1};
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; }
ll lcm(ll a, ll b) { return a / gcd(a, b) * b; }
int main() {
  int N;
  cin >> N;
  vi a(N);
  for (int i = (0); i < ((N)); ++i) cin >> a[i];
  int cnt_4 = 0;
  int cnt_2 = 0;
  for (int i = (0); i < ((N)); ++i) {
    if (a[i] % 4 == 0) cnt_4++;
    if (a[i] % 2 == 0) cnt_2++;
  }
  cout << (cnt_4 + 2 * cnt_2 >= N / 2 ? "Yes" : "No") << endl;
}
