Input: John changed his mend.
John changed his mind.

Output: first