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