#include <bits/stdc++.h>
template <typename T>
bool chmax(T &a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
template <typename T>
bool chmin(T &a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
using namespace std;
using ll = long long int;
const int MOD = 1000000007;
const int INTMAX = 2147483647;
const ll LLMAX = 9223372036854775807;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  ll N;
  cin >> N;
  vector<ll> a(N);
  for (ll i = 0; i < N; i++) cin >> a[i];
  ll A = 0, B = 0;
  for (ll i = 0; i < N; i++) {
    if (a[i] % 2 == 1) A++;
    if (a[i] % 4 == 0) B++;
  }
  if (A <= B || (A + 1 == B && A + B == N))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
