If the left image shows one lone adult elephant, while the right image shows one adult elephant with one younger elephant beside it
return left image  ;return elephant  in  #1 ;return number of  #2 ;return if  #3 is equal to  one   ;return if  #2 is adult  ;return if  both  #4 and #5 are true ;return right image  ;return elephants in  #7 ;return #8 that is adult  ;return #8 that is younger ;return number of  #9 ;return number of  #10 ;return if  #11 is equal to  one   ;return if  #12 is equal to  one   ;return if  #9 is beside #10 ;return if  both  #13 and #14 are true ;return if  both  #16 and #15 are true ;return if  both  #6 and #17 are true
['select', 'project', 'aggregate', 'boolean', 'boolean', 'boolean', 'select', 'project', 'filter', 'filter', 'aggregate', 'aggregate', 'boolean', 'boolean', 'boolean', 'boolean', 'boolean', 'boolean']