If one cup has the lid on, and at least one cup does not have a lid on.
return cup  ;return lid of #1 ;return #1 where  #2 is on ;return #1 besides  #3 ;return the  number of  #3 ;return the  number of  #4 ;return if  #5 is equal to  one ;return if  #6 is at least one
['select', 'project', 'comparative', 'discard', 'aggregate', 'aggregate', 'boolean', 'boolean']