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