#include <bits/stdc++.h>
int main(void) {
  int i, j, l, k, n, m, x[10001], y[10001];
  long long int a;
  j = 0;
  l = 0;
  k = 0;
  scanf("%d", &n);
  for (i = 1; i <= n; i++) {
    x[i] = 0;
    y[i] = 0;
  }
  for (i = 1; i <= n; i++) {
    scanf("%lld", &a);
    if (a % 4 == 0) {
      j++;
      x[j] = a;
    } else {
      l++;
      y[l] = a;
    }
  }
  for (i = 1; i <= l; i++) {
    if (y[l] % 2 == 0) k++;
  }
  if (k % 2 == 0) k--;
  l = l - k;
  if (j + 2 <= l)
    printf("No\n");
  else
    printf("Yes\n");
  return 0;
}
