#include <bits/stdc++.h>
using namespace std;
int a[100050], n, x, y;
int main() {
  int i, j, k;
  scanf("%d", &n);
  for (i = 1; i <= n; i++) {
    scanf("%d", &a[i]);
    if (a[i] % 4 == 0)
      x++;
    else if (a[i] % 2 == 0)
      y++;
  }
  if (y > 1) {
    x++;
    n -= y - 1;
  }
  printf("%s", x >= n / 2 ? "Yes" : "No");
  return 0;
}
