How is the president of Sri lanka Elected

How is the president of Sri Lanka Elected?

President of Sri Lanka selected through a presidential election process
Candidates contests for votes than they are elected as the majority of votes and percentage

A candidate who has more than 50 percent of votes wins