Anusha's submission of Mahasena | CodeChef