#include <bits/stdc++.h>
using namespace std;
long long arr[100000 + 5], ans[100000 + 5], sign[100000 + 5];
int main() {
  memset(sign, 0, sizeof(sign));
  int t;
  cin >> t;
  for (int i = 0; i < t; i++) {
    cin >> arr[i];
  }
  long long m = 0;
  for (int i = 0; i < t; i++) {
    if (arr[i] % 4 != 0) {
      ans[m++] = arr[i];
    }
  }
  int q = 0;
  for (int i = 0; i < m; i++) {
    if (ans[i] % 2 == 0) q++;
  }
  if (q % 2 != 0) q--;
  m -= q;
  if (m == q) {
    cout << "No" << endl;
    return 0;
  }
  if (m - 1 > (t - m)) {
    cout << "No" << endl;
  } else {
    cout << "Yes" << endl;
  }
  return 0;
}
