#include <bits/stdc++.h>
int main() {
  int i, n, f = 0, d = 0, x = 0;
  scanf("%d", &n);
  int a[n];
  for (i = 0; i < n; i++) {
    scanf("%d", &a[i]);
    if (a[i] % 2 == 0) {
      if (a[i] % 4 == 0) f++;
      d++;
    } else
      x++;
  }
  if (f == 0 && n == d) {
    printf("Yes\n");
    return 0;
  }
  if (f != 0 && ((n - 1) / f <= 2 || n == d || x < f)) {
    printf("Yes\n");
    return 0;
  }
  printf("No\n");
}
