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