#include <bits/stdc++.h>
using namespace std;
int main(void) {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int n, x;
  map<int, int> M;
  cin >> n;
  for (int i = 0; i < (int)n; i++) {
    cin >> x;
    M[x]++;
  }
  auto it = M.begin();
  int a = 0;
  int b = 0;
  for (it; it != M.end(); ++it) {
    if (it->second > 1) {
      if (it->first % 4 != 0) {
        a++;
        b++;
      } else
        a += 2;
    } else {
      if (it->second % 4 == 0) {
        a++;
      } else
        b++;
    }
  }
  if (a >= b) {
    cout << "Yes\n";
  } else {
    if (b == a + 1) {
      cout << "Yes\n";
    } else
      cout << "No\n";
  }
  return 0;
}
