If all baboons shown are juveniles, and the right image features two young baboons posed sitting with faces close together.
return baboons  ;return #1 that are juveniles ;return number of  #1 ;return number of  #2 ;return if  #3 is equal to  #4 ;return right image ;return #1 that are in  #6 ;return #7 that are young ;return #8 that are posed sitting ;return faces of #9 ;return #9 where  #10 are close together ;return number of  #11 ;return if  #12 is equal to  two ;return if  both  #5 and #13 are true
['select', 'filter', 'aggregate', 'aggregate', 'boolean', 'select', 'filter', 'filter', 'filter', 'project', 'comparative', 'aggregate', 'boolean', 'boolean']