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