#include <bits/stdc++.h>
int main() {
  int n, a;
  int counta = 0, countb = 0;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &a);
    if (a % 4 == 0)
      counta++;
    else if (a % 2 == 1)
      countb++;
  }
  if (counta >= countb)
    printf("Yes");
  else
    printf("No");
  return 0;
}
