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