If some of the pies have slices cut from them and some have lattice top crusts.
return pies ;return slices of #1 ;return #2 that are cut from  #1 ;return #1 that has #3 ;return number of  #1 ;return number of  #4 ;return difference of #5 and #6 ;return if  #6 is at least one ;return if  #7 is at least one ;return if  both  #8 and #9 are true ;return #1 that has lattice top crusts ;return number of  #11 ;return difference of #5 and #12 ;return if  #12 is at least one ;return if  #13 is at least one ;return if  both  #14 and #15 are true ;return if  both  #10 and #16 are true
['select', 'project', 'filter', 'filter', 'aggregate', 'aggregate', 'arithmetic', 'boolean', 'boolean', 'boolean', 'filter', 'aggregate', 'arithmetic', 'boolean', 'boolean', 'boolean', 'boolean']