#include <bits/stdc++.h>
using namespace std;
using vi = vector<int>;
using vll = vector<long long>;
long long mod = 1e9 + 7;
long long llmax = 10000000000000000000ll;
using namespace std;
using Graph = vector<vector<int>>;
Graph G;
const int AMAX = 100000;
int gcd(int a, int b) {
  if (b == 0) {
    return a;
  } else {
    return gcd(b, a % b);
  }
}
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int N;
  cin >> N;
  int n4 = 0;
  int n2 = 0;
  int n1 = 0;
  vector<int> data(N);
  for (int i = 0; i < N; i++) {
    cin >> data[i];
    if (data[i] % 4 == 0) {
      n4++;
    } else if (data[i] % 2 == 0) {
      n2++;
    } else {
      n1++;
    }
  }
  if (n4 >= N / 2 || (n1 + n2 / 2) < n4) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
