#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, a, x = 0, y = 0;
  cin >> N;
  for (int i = 0; i < N; i++) {
    cin >> a;
    if (a % 4 == 0) x += 1;
    if (a % 2 == 1) y += 1;
  }
  if ((x - 2 * y) >= -2) {
    cout << "Yes" << endl;
  } else {
    cout << "N0" << endl;
  }
  return 0;
}
