#include <bits/stdc++.h>
int main() {
  int num, *array;
  int i;
  int cnt4 = 0;
  int cnt2 = 0;
  scanf("%d", &num);
  array = (int *)malloc(sizeof(int) * num);
  for (i = 0; i < num; i++) scanf("%d ", &array[i]);
  for (i = 0; i < num; i++) {
    if ((array[i] % 4) == 0) {
      cnt4 += 1;
    } else if ((array[i] % 2) == 0) {
      cnt2 += 1;
    }
  }
  cnt4 *= 2;
  if (cnt4 != 0) cnt4++;
  if ((cnt4 + cnt2) >= num) {
    printf("Yes");
  } else {
    printf("No");
  }
  return 0;
}
