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