#include <bits/stdc++.h>
using namespace std;
long long dy[8] = {-1, 0, 1, 0, -1, 1, 1, -1};
long long dx[8] = {0, 1, 0, -1, 1, 1, -1, -1};
const long long mod = 1000000007;
const long long inf = mod * mod;
const long long d5 = 100100;
signed main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  long long n;
  cin >> n;
  vector<long long> a(n);
  for (long long i = 0; i < n; i++) cin >> a[i];
  long long f = 0, t = 0, x = 0;
  for (auto it : a) {
    if (it % 4 == 0) {
      f++;
    } else if (it % 2 == 0) {
      t++;
    } else {
      x++;
    }
  }
  if (f != 0) {
    n -= 2 * f + 1;
    if (n <= 0) {
      cout << "Yes" << endl;
      return 0;
    } else {
      if (t >= 2 && n - t <= 0) {
        cout << "Yes" << endl;
      } else {
        cout << "No" << endl;
      }
    }
  } else {
    if (t >= 2 && n - t <= 0) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
}
