#include <bits/stdc++.h>
int main(int argc, char *argv[]) {
  int n;
  scanf("%d", &n);
  int nn = n;
  int x;
  int n4 = 0, n2 = 0;
  while (nn--) {
    scanf("%d", &x);
    if (x % 4 == 0)
      n4++;
    else if (x % 2 == 0)
      n2++;
  }
  if (n2 > 1) {
    if (n - n4 - n2 <= n4 + 1)
      printf("Yes\n");
    else
      printf("No\n");
  } else {
    if (n - n4 <= n4 + 1)
      printf("Yes\n");
    else
      printf("No\n");
  }
  return 0;
}
