When there is a vacancy in the office of the President and the Vice President at the same time, the office is held temporarily by
(1) a person nominated by both the Houses of Parliament
(2) the Speaker of Lok Sabha
(3) the Deputy Chairman of Rajaya Sabha
(4) the Chief Justice of India