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