#include <bits/stdc++.h>
int main(void) {
  int odd = 0;
  int four = 0;
  int n, i;
  scanf("%d", &n);
  for (i = 0; i < n; i++) {
    int tmp;
    scanf("%d", &tmp);
    if (tmp % 4 == 0)
      four++;
    else if (tmp % 2 != 0)
      odd++;
  }
  if (n == 1) {
    if (four > 0)
      printf("Yes\n");
    else
      printf("No\n");
    return 0;
  }
  if (n == 3 && four > 0) {
    printf("Yes\n");
    return 0;
  }
  if (odd > four) {
    printf("No\n");
  } else {
    printf("Yes\n");
  }
  return 0;
}
