#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  long long a;
  int b = 0;
  int c = 0;
  int d;
  cin >> N;
  for (int i = 0; i < N; i++) {
    cin >> a;
    if (a % 4 == 0)
      b++;
    else if (a % 2 == 0)
      c++;
  }
  d = 2 * b + c;
  if (b != 0) d++;
  if (d >= N)
    printf("Yes");
  else
    printf("No");
  return 0;
}
