#include <bits/stdc++.h>
int main() {
  int N;
  scanf("%d", &N);
  int a[N];
  int i, j, k;
  for (i = 0; i < N; i++) {
    scanf("%d", &a[i]);
  }
  int count_2 = 0, count_4 = 0;
  for (i = 0; i < N; i++) {
    if (a[i] % 4 == 0) {
      count_4++;
    } else if (a[i] % 2 == 0) {
      count_2++;
    }
  }
  if (count_2 > 0) {
    if ((N - count_2) / 2 <= count_4) {
      printf("Yes\n");
    } else {
      printf("No\n");
    }
  } else if (count_2 == 0) {
    if (N / 2 <= count_4 + 1) {
      printf("Yes\n");
    } else {
      printf("No\n");
    }
  }
  return 0;
}
