Which of the phrases given below the sentence should replace the phrase printed in bold type to make it grammatically correct? If the sentence is correct as it is, mark 'E' as the answer.

Had I realised how close I was to the edge of the valley, I would not have carried the bags there.

A.

Had I been realised

B.

If I would have realised

C.

When I realised

D.

Had I had realised

E.

No correction required

Correct answer is E

No explanation has been provided for this answer.