If in each image, a large seal has its head and shoulders upright, and the upright seals in the left and right images face the same direction.
return seal ;return #1 that is large ;return head of #2 ;return shoulders of #2 ;return #2 where  #3 is upright ;return #2 where  #4 are upright ;return #2 in  both  #5 and   #6 ;return images of #7 ;return images ;return number of  #8 ;return number of  #9 ;return if  #10 is equal to  #11 ;return the  left image ;return the  right image ;return seals in  #13 ;return seals in  #14 ;return #15 that are upright ;return #16 that are upright ;return direction face of #17 ;return direction face of #18 ;return if  #19 is the  same as #20 ;return if  both  #12 and   #21 are true
['select', 'filter', 'project', 'project', 'comparative', 'comparative', 'intersection', 'project', 'select', 'aggregate', 'aggregate', 'boolean', 'select', 'select', 'project', 'project', 'filter', 'filter', 'project', 'project', 'boolean', 'boolean']