If there are two dogs with black ears and two dogs with brown ears sitting in a row in the image on the left.
return left image ;return dogs in  #1 ;return ears of #2 ;return #2 where  #3 are black ;return #2 where  #3 are brown ;return number of  #4 ;return number of  #5 ;return if  #6 is equal to  two  ;return if  #7 is equal to  two  ;return #4 , #5 ;return if  #10 are sitting in  a  row ;return if  both  #8 and #9 are true ;return if  both  #12 and #11 are true
['select', 'project', 'project', 'comparative', 'comparative', 'aggregate', 'aggregate', 'boolean', 'boolean', 'union', 'boolean', 'boolean', 'boolean']