#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll INF = +10010010000;
const ll MO = 1000000007;
int main() {
  int n;
  cin >> n;
  vector<int> ans(3, 0);
  for (int i = 0; i < (n); ++i) {
    ll a;
    cin >> a;
    if (a % 4 == 0)
      ++ans[0];
    else if (a % 2 == 0)
      ++ans[1];
    else
      ++ans[2];
  }
  bool a = true;
  if (n == 1) {
    if (ans[0] != 1) a = false;
  } else if (n == 2) {
    if (ans[2] >= 2 || (ans[1] == 1 && ans[2] == 1)) a = false;
  } else if (n == 3) {
    if (ans[2] == 2 && ans[1] == 1) a = false;
    if (ans[1] == 2 && ans[2] == 1) a = false;
    if (ans[2] >= 3) a = false;
  } else {
    if (ans[0] >= ans[2] && ans[1] >= 2)
      a = true;
    else
      a = false;
  }
  if (a)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
