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