If there are 9 or more warthogs, and there are only brown ones in one of the pictures, and only black ones in the other picture.
return warthogs ;return number of  #1 ;return if  #2 is at least 9 ;return one picture ;return #1 that are in  #4 ;return #5 that are brown ;return #5 besides  #6 ;return number of  #7 ;return if  #8 is equal to  zero ;return other picture ;return #1 that are in  #10 ;return #11 that are black ;return #11 besides  #12 ;return number of  #13 ;return if  #14 is equal to  zero ;return if  both  #3 and #9 are true ;return if  both  #16 and #15 are true
['select', 'aggregate', 'boolean', 'select', 'filter', 'filter', 'discard', 'aggregate', 'boolean', 'select', 'filter', 'filter', 'discard', 'aggregate', 'boolean', 'boolean', 'boolean']