#include <bits/stdc++.h>
int main(void) {
  int n[100000], count, count2 = 0, x, len, ect = 1;
  char str[101], f, e;
  scanf("%d", &count);
  int i = 0;
  for (i = 0; i < count; i++) {
    scanf("%d", &n[i]);
    if (n[i] % 4 == 0)
      count2++;
    else
      ect *= n[i];
  }
  if (count2 >= 1) len = 3;
  len = (count2 - 1) * 2 + len;
  len = count - len;
  x = count / 2;
  if (x <= count2) {
    printf("Yes\n");
    return 0;
  }
  if (len == 1 && ect % 4 == 0) {
    printf("Yes\n");
    return 0;
  }
  printf("No\n");
  return 0;
}
