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