Tejas Kailas Dhage's submission of Mahasena | CodeChef