问题

I thought about ______ over and over in my head and finally worked out how to do it.

A:what I have to do
B:I had to do what
C:what I had to do
D:what I to do;
正确答案是: