#include <bits/stdc++.h>
int main() {
  int N, i;
  scanf("%d", &N);
  int a[N];
  int two = 0, four = 0;
  for (i = 0; i < N; i++) {
    scanf("%d", &a[i]);
    if (a[i] % 2 == 0) {
      if (a[i] % 4 == 0)
        four++;
      else
        two++;
    }
  }
  if (two >= 2) N -= two;
  if ((four >= (N + 2) / 3))
    printf("Yes\n");
  else
    printf("No\n");
  return 0;
}
