If in one image, two seals are alone together on a small mound surrounded by water, and in the other image, a third seal has joined them on the mound.
return one image  ;return seals in  #1 ;return mound in  #1 ;return water in  #1 ;return #2 that are together ;return #3 that is small ;return #6 that is surrounded by #4 ;return #5 that are on #7 ;return number of  #8 ;return if  #9 is equal to  two ;return other image  ;return seals in  #11 ;return mound  in  #11 ;return #12 that are on #13 ;return number of  #14 ;return difference of #15 and #9 ;return if  #16 is equal to  one ;return if  both  #10 and #17 are true
['select', 'project', 'project', 'project', 'filter', 'filter', 'filter', 'filter', 'aggregate', 'boolean', 'select', 'project', 'project', 'filter', 'aggregate', 'arithmetic', 'boolean', 'boolean']