#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int A, B, C, D, E, F, N, M;
  long long V[10000000] = {};
  long long G[10000000] = {};
  string S, Sa, Sb, Sc;
  bool ans = true;
  cin >> A;
  B = 0;
  for (int i = 0; i < A; i++) {
    cin >> V[i];
    if (V[i] % 4 == 0) B++;
    if (V[i] % 2 == 0) C++;
  }
  if (A - (B * 3 + C) <= 0)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
