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