Sachin Prabhu K's submission of Mahasena | CodeChef