If each image contains only one ferret, which stands on all fours with its body turned rightward, and the left image features a ferret turning its head to gaze leftward.
return images ;return ferrets in  #1 ;return #2 that stand on all fours ;return body of #3 ;return #3 where  #4 is turned rightward ;return number of  #5 for each  #1 ;return #1 where  #6 is equal to  one ;return number of  #7 ;return number of  #1 ;return if  #8 is equal to  #9 ;return ferret  ;return head of #11 ;return #11 turning #12 to  gaze leftward ;return if  #13 is in  the  left image  ;return if  both  #10 and #14 are true
['select', 'project', 'filter', 'project', 'comparative', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'select', 'project', 'filter', 'boolean', 'boolean']