Sri Lanka won the toss and elected to bat