#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int N, f = 0, t = 0, A = 0;
  cin >> N;
  long long int a[N];
  for (int i = 0; i < N; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      f++;
    } else if (a[i] == 2) {
      t++;
    } else if (a[i] % 2 == 0) {
      A++;
    }
  }
  if (t / 2 == 0 || A == 0) {
    N -= max(t / 2, A) * 2;
  } else {
    N -= min(t / 2, A) * 2;
  }
  if (f >= N / 2) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
