#include <bits/stdc++.h>
using namespace std;
struct edge {
  int to, cost;
};
signed main() {
  int n, a = 0, b = 0, c = 0;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    int tmp;
    scanf("%d", &tmp);
    if (tmp % 4 == 0)
      a++;
    else if (tmp % 2 == 0)
      b++;
    else
      c++;
  }
  if (b == 0) {
    a >= c ? printf("Yes\n") : printf("No\n");
    return 0;
  }
  n -= b;
  if ((n + 1) / 2 <= a)
    printf("Yes\n");
  else
    printf("No\n");
  return 0;
}
