Task: Question Decomposition
Input (English): question: what african country has shorelines on both the atlantic ocean and mediterranean sea?
Output (English): #1 return country 
#2 return #1 that is african 
#3 return atlantic ocean 
#4 return mediterranean sea 
#5 return shorelines of #2 
#6 return #2 where  #5 is on #3 
#7 return #2 where  #5 is on #4 
#8 return #2 in  both  #6 and #7