Nilabja Bhattacharya's submission of Mahasena | CodeChef