If I had had money, I _____ it yesterday.

(A) would purchase
(B) would purchased
(C) would have purchase
(D) would have purchased

The answer is: (D) would have purchased