#include <bits/stdc++.h>
int main() {
  int N, a[10000];
  scanf("%d", &N);
  int i;
  int two = 0, four = 0;
  for (i = 0; i < N; i++) {
    scanf("%d", &a[i]);
    if (a[i] % 2 == 0) two++;
    if (a[i] % 4 == 0) four++;
  }
  if (four >= N / 2)
    printf("Yes");
  else if ((N - 2 * four) / 2 <= two)
    printf("Yes");
  else
    printf("No");
  return 0;
}
