#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long n;
  long long count = 0;
  long long count_tmp = 0;
  cin >> n;
  long long a[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) count++;
    if (a[i] % 2 == 0 && a[i] % 4 != 0) count_tmp++;
  }
  if (count == 0) {
    cout << "No" << endl;
    return 0;
  }
  if (count_tmp == 0) {
    if (n / 2 <= count) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else {
    long long tmp = n - count * 2;
    if (tmp - count_tmp > 0) {
      cout << "No" << endl;
    } else {
      cout << "Yes" << endl;
    }
  }
}
