Input: He went to saloon to do a hair cut
He went to theater to do a hair cut

Output: second