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