单项选择题

I failed in the final examination last term and only then ______ the importance of studies.

A. I realized
B. I had realized
C. had I realized
D. did I realize