#include <bits/stdc++.h>
const int MGN = 8;
const int ARY_SZ_MAX = 10000000;
using namespace std;
using ll = long long;
using ull = unsigned long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vvvi = vector<vvi>;
using vb = vector<bool>;
using vvb = vector<vb>;
using vvvb = vector<vvb>;
using vl = vector<ll>;
using vvl = vector<vl>;
using vd = vector<double>;
using vs = vector<string>;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
using psi = pair<string, int>;
int main() {
  std::cin.tie(0);
  ios::sync_with_stdio(false);
  int N;
  cin >> N;
  vi a(N);
  for (int i = int(0); i < int(N); ++i) cin >> a[i];
  int div4 = 0, two = 0;
  for (int i = int(0); i < int(N); ++i) {
    if (a[i] % 4 == 0)
      div4++;
    else if (a[i] == 2)
      two++;
  }
  string ans = "No";
  if (div4 >= N / 2 || two == N || div4 >= N - div4 - two) ans = "Yes";
  cout << ans << endl;
  return 0;
}
