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