Ow ow thiyanawa... mata miss una Machnag... nope... As per Article, 38. (1) The office of President shall become vacant -(b) if he resigns his office by a writing under his hand addressed to the Speaker.
Line of succession ekak thiyanawa... 1. Prime minister 2. Speaker