Ashutosh Jadhav's submission of Mahasena | CodeChef