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