Input: He put a cake on the table
He put a table on a cake

Output: second