The correct option is D President
The Prime Minister is appointed by the President on the basis of the majority commanded by him or her in the Parliament. After he is chosen, the President on the advice of the Prime Minister appoints the Council of Ministers.