question: If in one image containing exactly two baboons, the monkey on the right is grooming the one on the left.
#1 return baboons 
#2 return images 
#3 return the  number of  #1 for each  #2 
#4 return #2 where  #3 is equal to  two 
#5 return the  number of  #4 
#6 return if  #5 is equal to  one 
#7 return monkey 
#8 return #7 that is on the  right 
#9 return #7 that is on the  left 
#10 return if  #8 is grooming #9 
#11 return if  both  #6 and #10 is true