avinash soni's submission of Mahasena | CodeChef