#include <bits/stdc++.h>
using namespace std;
long long inf = 100000000;
long long v[205];
long long x[20000005];
long long a[10000005];
long long dp[10005][10005];
int dx[4] = {1, -1, 0, 0};
int dy[4] = {0, 0, 1, -1};
double q[200005];
int main() {
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  long long count = 0;
  long long odd = 0;
  long long count2 = 0;
  for (int i = 0; i < n; i++) {
    if (a[i] % 4 == 0) {
      count++;
    }
    if (a[i] % 2 == 1) {
      odd++;
    }
    if (a[i] == 2) {
      count2++;
    }
  }
  if (count2 > 0) {
    if (count > odd || count2 == n) {
      cout << "Yes" << endl;
      return 0;
    }
  } else {
    if (n / 2 <= count) {
      cout << "Yes" << endl;
      return 0;
    }
  }
  cout << "No" << endl;
  return 0;
}
