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