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