If all pencil cases are closed and black, and at least one pencil case has contrasting piping on the edges.
return pencil cases ;return #1 that are closed ;return #2 that are black ;return edges of #3 ;return piping ;return #5 that is contrasting ;return #3 where  #4 have #6 ;return the  number of  #1 ;return the  number of  #3 ;return if  #8 is equal to  #9 ;return the  number of  #7 ;return if  #11 is at least one ;return if  both  #10 and #12 is true
['select', 'filter', 'filter', 'project', 'select', 'filter', 'comparative', 'aggregate', 'aggregate', 'boolean', 'aggregate', 'boolean', 'boolean']