#include <bits/stdc++.h>
int main() {
  int n;
  scanf("%d", &n);
  int a, c = 0;
  for (int i = 0; i < n; i++) {
    scanf("%d", &a);
    if (a % 4 == 0) c++;
  }
  printf("%s\n", c >= n / 2 ? "Yes" : "No");
  return 0;
}
