#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] == 2) {
      count_2++;
    } else if (a[i] % 4 == 0) {
      count_4++;
    }
  }
  if (count_4 >= N / 2 || ((N - count_2) / 2 <= count_4 + 1)) {
    printf("Yes\n");
  } else {
    printf("No\n");
  }
  return 0;
}
