#include <bits/stdc++.h>
const int maxn = 100010;
int luck[maxn] = {0};
int main() {
  int n;
  int countluck = 0;
  int countunluck = 0;
  int counttwo = 0;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &luck[i]);
    if (luck[i] % 4 == 0) {
      countluck++;
    } else if (luck[i] % 2 == 0) {
      counttwo++;
    } else {
      countunluck++;
    }
  }
  if (counttwo == 0) {
    if (countunluck - 1 > countluck) {
      printf("No\n");
    } else {
      printf("Yes\n");
    }
  } else if (counttwo > 0) {
    if (counttwo == 1) {
      countunluck++;
    } else {
      countluck += (counttwo / 2);
    }
    if (countunluck - 1 > countluck) {
      printf("No\n");
    } else {
      printf("Yes\n");
    }
  }
  return 0;
}
