#include <bits/stdc++.h>
using namespace std;
const int N = 2 * 1e5 + 5;
const long long mod = 1e9 + 7;
const int INF = INT_MAX;
const long long INFCAD = long long(INT_MAX) * 2 + 1;
const double E = 1e-9;
int v[105][105];
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  vector<int> aux(n);
  for (int &i : aux) cin >> i;
  int tmp = 0;
  int auxi = 0;
  int even = 0;
  for (int i : aux) {
    if (i % 4 == 0) tmp++;
    if (i == 2) auxi++;
    if (!(i & 1)) even++;
  }
  int len = n - tmp;
  if (auxi > 1) len = n - auxi - tmp;
  if ((tmp + 1 >= len && tmp > 0) or len == 0)
    cout << "Yes\n";
  else {
    int len1 = n - even;
    if (even >= len1 && n > 1)
      cout << "Yes\n";
    else
      cout << "No\n";
  }
  return 0;
}
