If each lock is rectangular shaped, and one lock contains exactly three rows of numbers on wheels.
return locks ;return #1 that are rectangular shaped ;return number of  #1 ;return number of  #2 ;return if  #3 is equal to  #4 ;return wheels of #1 ;return rows of numbers on #6 ;return number of  #7 for each  #1 ;return #1 where  #8 is equal to  three ;return number of  #9 ;return if  #10 is equal to  one ;return if  both  #5 and #11 are true
['select', 'filter', 'aggregate', 'aggregate', 'boolean', 'project', 'project', 'group', 'comparative', 'aggregate', 'boolean', 'boolean']