#include <bits/stdc++.h>
int a[100001];
void judge(int *a, int n) {
  int i, t = 0, k = 0;
  for (i = 0; i < n; i++) {
    if (a[i] % 4 == 0)
      t++;
    else if (a[i] % 2 == 0)
      k++;
  }
  if (k % 2 == 1) k--;
  if (3 * t + k >= n)
    printf("Yes\n");
  else
    printf("No\n");
}
int main() {
  int n;
  int i;
  while (scanf("%d", &n) != EOF) {
    for (i = 0; i < n; i++) scanf("%d", &a[i]);
    if (n == 0)
      printf("Yes\n");
    else
      judge(a, n);
  }
  return 0;
}
