#include <bits/stdc++.h>
int main() {
  int N = 0, N1 = 0, N2 = 0, N4 = 0;
  int tmp;
  scanf("%d", &N);
  for (int i = 0; i < N; i++) {
    scanf("%d", &tmp);
    if (tmp % 4 == 0) N4++;
    if (tmp % 2 == 0 && tmp != 4) N2++;
  }
  N1 = N - N2 - N4;
  if ((N2 == 0 && N4 >= N1 - 1) || (N2 > 0 && N4 >= N1))
    printf("Yes\n");
  else
    printf("No\n");
  return 0;
}
