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