单项选择题

(Only when) it (started) to rain (he noticed) that he (had left) his raincoat somewhere.

A.Only when
B.started
C.he noticed
D.had left