#include <bits/stdc++.h>
using namespace std;
template <class T>
bool chmax(T &a, const T &b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
bool chmin(T &a, const T &b) {
  if (b < a) {
    a = b;
    return 1;
  }
  return 0;
}
int main() {
  int N;
  scanf("%d", &N);
  int a = 0, b = 0, c = 0;
  for (int i = 0; i < N; i++) {
    int ary;
    scanf("%d", &ary);
    if (ary % 4 == 0)
      a++;
    else if (ary % 2 == 0)
      b++;
    else
      c++;
  }
  if (b == 0) {
    if ((a - c) * (a - c) <= 1 && a > 0)
      printf("Yes\n");
    else
      printf("No\n");
  } else {
    if (a >= c && a >= 0)
      printf("Yes\n");
    else
      printf("No\n");
  }
  return 0;
}
