#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, i, m4, m2, m1;
  cin >> N;
  m4 = 0;
  m2 = 0;
  m1 = 0;
  vector<int> A(N);
  for (i = 0; i < N; i++) {
    cin >> A[i];
  }
  for (i = 0; i < N; i++) {
    if (A[i] % 4 == 0)
      m4++;
    else if (A[i] % 2 == 0)
      m2++;
    else if (A[i] % 2 == 1)
      m1++;
  }
  if (m4 >= m1)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
