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