Complete the sentence with a suitable verb in the past simple, past continuous or past perfect form from the following choices below.
Example: I ____ in the library when I ____ it ____.
Answer: I was working
(past continuous) in the library when I realized
(past simple) it had closed.