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