amulya gaur's submission of Mahasena | CodeChef