Input: he bought elephant and kept in his pocket
he bought chocolate and kept in his pocket

Output: first