#include <bits/stdc++.h>
int main(void) {
  int n;
  int point;
  int i;
  int t;
  int hantei;
  int count4 = 0;
  int count2 = 0;
  int miss = 0;
  long int kazu[100002];
  scanf("%d", &n);
  for (i = 1; i <= n; i++) {
    scanf("%d", &kazu[i]);
  }
  for (t = 1; t <= n; t++) {
    hantei = kazu[t] % 4;
    if (hantei == 0) {
      count4++;
    } else if (hantei == 2) {
      count2++;
    } else {
      miss++;
    }
  }
  if (n == 3) {
    if (miss <= count4 + 1) {
      printf("Yes\n");
    } else {
      printf("No\n");
    }
  } else if (miss <= count4) {
    printf("Yes\n");
  } else {
    printf("No\n");
  }
  return 0;
}
