#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<long long int> a(N, 0);
  long long int count = 0;
  for (int i = 0; i < N; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      count++;
    }
  }
  if (count * 3 >= N) {
    cout << "Yes";
  } else {
    cout << "No";
  }
  return 0;
}
