#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll mod = LLONG_MAX;
long long a[100010];
long long f, d, o;
signed main() {
  long long n;
  cin >> n;
  for (long long i = 0; i < n; i++) cin >> a[i];
  for (long long i = 0; i < n; i++) {
    if (a[i] % 4 == 0) {
      f++;
    } else if (a[i] % 2 == 0) {
      d++;
    }
  }
  o = n - f - d;
  o -= f;
  if (o > 2 || (o == 1 && d > 0)) {
    cout << "No" << endl;
  } else {
    cout << "Yes" << endl;
  }
}
