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