#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long n, b = 0, c = 0;
  cin >> n;
  vector<long long>(a)((n));
  for (long long i = 0; i < (n); ++i) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      b++;
    } else if (a[i] % 4 == 1 || a[i] % 4 == 3) {
      c++;
    }
  }
  (b < c) ? cout << "No" : cout << "Yes";
  return 0;
}
