Showndarya Madhavan's submission of Mahasena | CodeChef