#include <bits/stdc++.h>
using namespace std;
int main(void) {
  cin.sync_with_stdio(false);
  long long int N, a, b = 0, c = 0;
  cin >> N;
  for (long long int i = 0; i < N; i++) {
    cin >> a;
    if (a % 4 == 0)
      b++;
    else if (a % 2 == 0)
      c++;
  }
  a = c >= 2 ? N - (b >= 2 ? (c - 4) : c - 2) : N / 4 + 1;
  if (c >= 2) b -= b >= 2 ? 2 : 1;
  cout << ((a <= b) ? "Yes" : "No") << endl;
  return 0;
}
