#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> num(n);
  int yon = 0;
  for (int i = 0; i < n; i++) {
    cin >> num[i];
    if (num[i] % 4 == 0) yon++;
  }
  if (yon >= n / 2)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
