#include <bits/stdc++.h>
int main() {
  int N;
  int a[100000];
  int t = 0, f = 0, n = 0;
  scanf("%d", &N);
  for (int i = 0; i < N; i++) {
    scanf("%d", &a[i]);
    if ((a[i] % 4) == 0)
      f++;
    else if ((a[i] % 2) == 0)
      t++;
    else
      n++;
  }
  if ((N < f * 2 + t) || (N == f * 2 + 1))
    printf("Yes");
  else
    printf("No");
  return 0;
}
