Input: Dog is man's best friend.
Tiger is man's best friend.

Output: second