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