Input: Going for a haircut is for grooming
Going for a haircut is for eating

Output: second