If there is a single ape holding something in the left image
return left image ;return ape in  #1 ;return number of #2 ;return If #3 is  equal to one ;return If #2 is  holding something ;return If both  #4 and #5 are  true
['select', 'project', 'aggregate', 'boolean', 'boolean', 'boolean']