If the combined images contain exactly 5 pipe shapes with at least one flat end, and the images include at least one pipe shape perforated with holes on its side.
return pipe shapes ;return ends of #1 ;return #2 that are flat ;return number of  #3 for each  #1 ;return #1 where  #4 is at least one ;return number of  #5 ;return if  #6 is equal to  5 ;return side of #1 ;return #1 that is perforated with holes on #8 ;return number of  #9 ;return if  #10 is at least one ;return if  both  #7 and #11 are true
['select', 'project', 'filter', 'group', 'comparative', 'aggregate', 'boolean', 'project', 'filter', 'aggregate', 'boolean', 'boolean']