Input: I closed the window when it rained
I opened the window when it rained

Output: second