#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>

void main(int argc, char const *argv[])
{
  int n;
  scanf("%d", &n);
  int *m = (int *)malloc(sizeof(int) * n);
  int mod2 = 0, mod4 = 0, zero = 0;
  int i = n;
  int tmp;
  while (i-- > 0)
  {
    scanf("%d", &tmp);
    if (tmp % 4 == 0)
    {
      mod4++;
    }
    else if (tmp % 2 == 0)
    {
      mod2++;
    }
    else
    {
      zero++;
    }
  }
  if ((mod4 + 1 >= zero + mod2) || (mod2 > 1 && mod4 + 1 >= zero))
  {
    printf("Yes");
  }
  else
  {
    printf("No");
  }

  return;
}