#include <bits/stdc++.h>
using namespace std;
const long long N = 10e5;
int main() {
  int n;
  cin >> n;
  long long a[n];
  std::vector<long long> b, c;
  for (int i = 0; i < n; i++) cin >> a[i];
  int c2 = 0;
  for (int i = 0; i < n; i++) {
    if (a[i] == 2) {
      c2++;
      continue;
    }
    if (a[i] % 4 == 0)
      b.push_back(a[i]);
    else
      c.push_back(a[i]);
  }
  int x, y;
  x = b.size() + c2 / 2;
  if (n % 2 == 0)
    y = c.size() / 2 + 1;
  else
    y = c.size() / 2;
  if (x >= y)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
