Input: ketchup is blue
ketchup is red

Output: first