Input: He bought building and kept in the bag
He bought apple and kept in the bag

Output: first