If at least one kneepad appears to be worn on a leg, and all kneepads are facing rightwards.
return kneepads ;return leg ;return #1 worn on #2 ;return #1 that are facing rightward ;return the  number of  #3 ;return the  number of  #4 ;return the  number of  #1 ;return if  #5 is at least one ;return if  #6 is equal to  #7 ;return if  both  #8 and #9 is true
['select', 'select', 'filter', 'filter', 'aggregate', 'aggregate', 'aggregate', 'boolean', 'boolean', 'boolean']