#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
const long long INFL = 0x3f3f3f3f3f3f3f3fLL;
const double EPS = 1e-9;
const int DX[] = {1, 0, -1, 0}, DY[] = {0, -1, 0, 1};
int main() {
  int N;
  int zero = 0, two = 0;
  cin >> N;
  for (int i = 0; i < (N); i++) {
    int a;
    cin >> a;
    if (a % 4 == 0) {
      two++;
    } else if (a % 2 == 1) {
      zero++;
    }
  }
  if (zero <= two || (N == 3 && two == 1)) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
