Input: He walked through a close door into the garden
He walked through an open door into the garden

Output: first