Input: he closed the door of the pen
he closed the door of the window

Output: first