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