Task: Question Decomposition
Input (English): question: If both boats are heading to the right.
Output (English): #1 return boats 
#2 return #1 that are heading to  the  right 
#3 return number of  #2 
#4 return if  #3 is equal to  two