Input: He made an apple pie
He made an apple of pies

Output: second