<?php
  $n = trim(fgets(STDIN));
  $a = explode(" ", trim(fgets(STDIN)));
  $count = 0; $two=0; $c=0;
  for($i=0; $i<$n; $i++){
      if($a[$i]%4 == 0){
          $count++;
      }else if($a[$i]%2 == 0){
          $two++;
      }else{
          $c++;
      }
  }
  $two--;
  if($n-$two == 1){
      echo "Yes";
      exit;
  }
  echo $count >= (int)(($n-$two)/2) ? "Yes" : "No";