Parimal Prasoon's submission of Mahasena | CodeChef