#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, A, X1 = 0, X2 = 0, X4 = 0;
  cin >> N;
  for (int i = 0; i < N; i++) {
    cin >> A;
    if (A % 4 == 0)
      X4++;
    else if (A % 2 == 0)
      X2++;
    else
      X1++;
  }
  if (X2 == 0) {
    if (X1 < X4)
      cout << "Yes";
    else
      cout << "No";
  } else {
    if (X1 <= X4)
      cout << "Yes";
    else
      cout << "No";
  }
}
