#include <bits/stdc++.h>
int main() {
  int i, n, m, k, a;
  double b;
  while (scanf("%d", &n) != EOF) {
    for (i = 0, m = 0, k = 0; i < n; i++) {
      scanf("%d", &a);
      if (a % 4 == 0)
        m++;
      else if (a % 2 == 0)
        k++;
    }
    m += k / 2;
    n -= k / 2;
    if (m >= n / 2)
      printf("Yes\n");
    else
      printf("No\n");
  }
  return 0;
}
