#include <bits/stdc++.h>
int main(void) {
  long int n, count = 0, two = 0, i;
  scanf("%ld", &n);
  long int *a = (long int *)malloc(sizeof(long int) * n);
  for (i = 0; i < n; i++) {
    scanf("%ld", &a[i]);
    if (a[i] % 4 == 0)
      count++;
    else if (a[i] == 2) {
      two++;
    }
  }
  count += two / 2;
  n = n / 2;
  if (count >= n)
    printf("Yes");
  else
    printf("No");
  return 0;
}
