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