let $i := 2 
   let $min := 10 
   let $max := 25 
   return 
   if ($i >= $min and $i <= $max ) then 
      ("yes") else "no" 
   
  no